Skip to content

arm64: dts: Remove GPIO10 espi_default gpio-hog - #296

Open
ankitaprasad2206 wants to merge 1 commit into
dev-a2from
clean-gpio-hog
Open

arm64: dts: Remove GPIO10 espi_default gpio-hog#296
ankitaprasad2206 wants to merge 1 commit into
dev-a2from
clean-gpio-hog

Conversation

@ankitaprasad2206

Copy link
Copy Markdown
Collaborator

Remove espi_default hog on GPIO10 (output-low).
It is obsolete and not needed.

Tested -

  • Tested on SP7 Ghana
  • Host booted without issue

Remove espi_default hog on GPIO10 (output-low).
It is obsolete and not needed.

Tested -
- Tested on SP7 Ghana
- Host booted without issue

Signed-off-by: ankprasa <ankprasa@amd.com>
gpio-hog;
gpios = <10 GPIO_ACTIVE_HIGH>;
output-low;
line-name = "espiboot_pin_default";

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why dont we need to do similar changes for other platforms? I see that the same line-name is defined in Congo dts, but in gpio1. Is there a specific reason?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gpio-hog was added earlier during bringup on all dts, and later removed. Ghana and Nigeria missed it.
This gpio is initialized in platform-init based on QSPI or eSPI variant detected.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rajaganeshr we are missing something here. integ_sp8 has the definition of gpio0 with the gpio-hog deleted. https://github.com/AMDESE/linux-aspeed/blob/integ_sp8/arch/arm64/boot/dts/aspeed/aspeed-bmc-amd-congo.dts#L978. dev_6.18.20 has the gpio1 defined with gpio-hog. https://github.com/AMDESE/linux-aspeed/blob/integ_sp8/arch/arm64/boot/dts/aspeed/aspeed-bmc-amd-congo.dts#L978. Please check. I noticed this discrepancy in the Congo device tree. Not sure where we got deviated. Please check, and also we may want to check all the other device trees in the dev_6.18.20 branch for consistency.

@@ -694,12 +694,6 @@ pmic_ ## bus ## _ ## index: pmic@addr{ \

&gpio0 {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure we want to merge this change to dev-a2 branch which hosts only Arthur related changes? I think you want this to be merged to dev_6.18.20 branch. please check.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will merge in dev_6.18.20. thanks for pointing out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants