-
Notifications
You must be signed in to change notification settings - Fork 52
Asus Transformers patchset #119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,9 +12,9 @@ | |
| chassis-type = "convertible"; | ||
|
|
||
| aliases { | ||
| mmc0 = "/mmc@78000600"; /* eMMC */ | ||
| mmc1 = "/mmc@78000000"; /* uSD slot */ | ||
| mmc2 = "/mmc@78000400"; /* WiFi */ | ||
| mmc0 = &sdmmc4; /* eMMC */ | ||
| mmc1 = &sdmmc1; /* uSD slot */ | ||
| mmc2 = &sdmmc3; /* WiFi */ | ||
|
|
||
| rtc0 = &pmic; | ||
| rtc1 = "/rtc@7000e000"; | ||
|
|
@@ -1080,13 +1080,15 @@ | |
|
|
||
| serial@70006040 { | ||
| compatible = "nvidia,tegra30-hsuart"; | ||
| /delete-property/ reg-shift; | ||
| status = "okay"; | ||
|
|
||
| /* Broadcom GPS BCM47511 */ | ||
| }; | ||
|
|
||
| serial@70006200 { | ||
| compatible = "nvidia,tegra30-hsuart"; | ||
| /delete-property/ reg-shift; | ||
| status = "okay"; | ||
|
|
||
| nvidia,adjust-baud-rates = <0 9600 100>, | ||
|
|
@@ -1469,6 +1471,8 @@ | |
| interrupt-parent = <&gpio>; | ||
| interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_HIGH>; | ||
| interrupt-names = "host-wake"; | ||
|
|
||
| reset-gpios = <&gpio TEGRA_GPIO(D, 3) GPIO_ACTIVE_LOW>; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please explain how this was tested? This "reset-gpios" isn't used by the kernel's brcmfmac driver, AFAICS.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Then why this property is in yaml? There was tests a while ago. wifi_pwrseq uses D4, and vmmc-supply is D0. D3 as I remember did not make any difference, although downstream uses it as reset gpio (https://github.com/clamor-s/morpheus_kernel_asus_tf201/blob/kernel-rework/arch/arm/mach-tegra/board-cardhu-sdhci.c#L38). This is to your choice.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Downstream kernel specifies GPIOs for all board variants, some of those GPIOs may do nothing depending on a board. If D3 does nothing on Transformers, then we shouldn't use it. I'll merge this PR and drop this patch on rebase.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure |
||
| }; | ||
| }; | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All such label changes should be squashed into a single patch and applied to all boards uniformly. I'll keep this patch in grate-kernel for now, but it will need to be extended if we'll want to merge it into upstream. You may continue working on it with further patches.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only tf has this change, tf101 and chagall have labels, but t30 transformers for some reasons did not fit. Idk why.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was in this way when sent to upstream, but reviewers decided to change it. I wonder why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thierryreding didn't want to apply patch that added labels to dtsi because some labels were unused.