linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jon Hunter <jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 03/73] ARM: tegra: Remove simple regulators bus
Date: Tue, 16 Jun 2020 20:24:11 +0100	[thread overview]
Message-ID: <cf8eb9d4-70d5-400f-ecc8-2139c25563a9@nvidia.com> (raw)
In-Reply-To: <20200616135238.3001888-4-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>



On 16/06/2020 14:51, Thierry Reding wrote:
> From: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> 
> The standard way to do this is to list out the regulators at the top
> level. Adopt the standard way to fix validation.
> 
> Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> ---
>  arch/arm/boot/dts/tegra114-dalmore.dts    | 129 +++++------
>  arch/arm/boot/dts/tegra114-roth.dts       | 120 +++++-----
>  arch/arm/boot/dts/tegra114-tn7.dts        |  65 +++---
>  arch/arm/boot/dts/tegra124-jetson-tk1.dts | 238 +++++++++----------
>  arch/arm/boot/dts/tegra124-nyan.dtsi      | 259 ++++++++++-----------
>  arch/arm/boot/dts/tegra124-venice2.dts    | 265 ++++++++++------------
>  arch/arm/boot/dts/tegra20-harmony.dts     | 121 +++++-----
>  arch/arm/boot/dts/tegra20-medcom-wide.dts |  66 +++---
>  arch/arm/boot/dts/tegra20-paz00.dts       |  38 ++--
>  arch/arm/boot/dts/tegra20-plutux.dts      |  66 +++---
>  arch/arm/boot/dts/tegra20-seaboard.dts    | 125 +++++-----
>  arch/arm/boot/dts/tegra20-tamonten.dtsi   |  39 +---
>  arch/arm/boot/dts/tegra20-tec.dts         |  66 +++---
>  arch/arm/boot/dts/tegra20-trimslice.dts   |  85 +++----
>  arch/arm/boot/dts/tegra20-ventana.dts     |  85 +++----
>  arch/arm/boot/dts/tegra30-beaver.dts      | 193 ++++++++--------
>  arch/arm/boot/dts/tegra30-cardhu-a02.dts  | 128 +++++------
>  arch/arm/boot/dts/tegra30-cardhu-a04.dts  | 149 ++++++------
>  arch/arm/boot/dts/tegra30-cardhu.dtsi     | 261 ++++++++++-----------
>  19 files changed, 1130 insertions(+), 1368 deletions(-)

...

> diff --git a/arch/arm/boot/dts/tegra124-venice2.dts b/arch/arm/boot/dts/tegra124-venice2.dts
> index 6a7a31c831c5..effdb303c7f7 100644
> --- a/arch/arm/boot/dts/tegra124-venice2.dts
> +++ b/arch/arm/boot/dts/tegra124-venice2.dts
> @@ -1077,164 +1077,145 @@ power {
>  
>  	panel: panel {
>  		compatible = "lg,lp129qe";
> -
> +		power-supply = <&vdd_3v3_panel>;
>  		backlight = <&backlight>;
>  		ddc-i2c-bus = <&dpaux>;
>  	};

Is this meant to be in this patch?

> diff --git a/arch/arm/boot/dts/tegra20-tamonten.dtsi b/arch/arm/boot/dts/tegra20-tamonten.dtsi
> index 20137fc578b1..95e6bccdb4f6 100644
> --- a/arch/arm/boot/dts/tegra20-tamonten.dtsi
> +++ b/arch/arm/boot/dts/tegra20-tamonten.dtsi
> @@ -495,40 +495,25 @@ usb-phy@c5008000 {
>  		status = "okay";
>  	};
>  
> -	sdhci@c8000600 {
> +	mmc@c8000600 {
>  		cd-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_LOW>;
>  		wp-gpios = <&gpio TEGRA_GPIO(H, 3) GPIO_ACTIVE_HIGH>;
>  		bus-width = <4>;
>  		status = "okay";
>  	};
>  
> -	clocks {
> -		compatible = "simple-bus";
> -		#address-cells = <1>;
> -		#size-cells = <0>;
> -
> -		clk32k_in: clock@0 {
> -			compatible = "fixed-clock";
> -			reg = <0>;
> -			#clock-cells = <0>;
> -			clock-frequency = <32768>;
> -		};
> +	clk32k_in: clock@0 {
> +		compatible = "fixed-clock";
> +		clock-frequency = <32768>;
> +		#clock-cells = <0>;
>  	};

The above appears in to be in the wrong patch.

> diff --git a/arch/arm/boot/dts/tegra30-cardhu-a02.dts b/arch/arm/boot/dts/tegra30-cardhu-a02.dts
> index a02ec5082287..4899e05a0d9c 100644
> --- a/arch/arm/boot/dts/tegra30-cardhu-a02.dts
> +++ b/arch/arm/boot/dts/tegra30-cardhu-a02.dts
> @@ -9,87 +9,75 @@ / {
>  	model = "NVIDIA Tegra30 Cardhu A02 evaluation board";
>  	compatible = "nvidia,cardhu-a02", "nvidia,cardhu", "nvidia,tegra30";
>  
> -	sdhci@78000400 {
> +	mmc@78000400 {
>  		status = "okay";
>  		power-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
>  		bus-width = <4>;
>  		keep-power-in-suspend;
>  	};

And here.

> diff --git a/arch/arm/boot/dts/tegra30-cardhu-a04.dts b/arch/arm/boot/dts/tegra30-cardhu-a04.dts
> index 9234988624ec..c1c0ca628af1 100644
> --- a/arch/arm/boot/dts/tegra30-cardhu-a04.dts
> +++ b/arch/arm/boot/dts/tegra30-cardhu-a04.dts
> @@ -11,99 +11,86 @@ / {
>  	model = "NVIDIA Tegra30 Cardhu A04 (A05, A06, A07) evaluation board";
>  	compatible = "nvidia,cardhu-a04", "nvidia,cardhu", "nvidia,tegra30";
>  
> -	sdhci@78000400 {
> +	mmc@78000400 {
>  		status = "okay";
>  		power-gpios = <&gpio TEGRA_GPIO(D, 3) GPIO_ACTIVE_HIGH>;
>  		bus-width = <4>;
>  		keep-power-in-suspend;
>  	};

And here.

Jon

-- 
nvpublic

  parent reply	other threads:[~2020-06-16 19:24 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-16 13:51 [PATCH 00/73] ARM: tegra: Various fixes for DT schema validation Thierry Reding
     [not found] ` <20200616135238.3001888-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-16 13:51   ` [PATCH 01/73] ARM: tegra: Add missing clock-names for SDHCI on Tegra114 Thierry Reding
2020-06-16 13:51   ` [PATCH 02/73] ARM: tegra: Remove simple clocks bus Thierry Reding
     [not found]     ` <20200616135238.3001888-3-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-16 19:06       ` Jon Hunter
     [not found]         ` <74f8be81-216b-b69b-4517-c90d5f7d578a-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2020-06-17 14:21           ` Thierry Reding
2020-06-16 13:51   ` [PATCH 03/73] ARM: tegra: Remove simple regulators bus Thierry Reding
     [not found]     ` <20200616135238.3001888-4-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-16 19:24       ` Jon Hunter [this message]
     [not found]         ` <cf8eb9d4-70d5-400f-ecc8-2139c25563a9-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2020-06-17 14:22           ` Thierry Reding
2020-06-16 13:51   ` [PATCH 04/73] ARM: tegra: Remove battery-name property Thierry Reding
2020-06-16 13:51   ` [PATCH 05/73] ARM: tegra: roth: Use the correct DSI/CSI supply Thierry Reding
2020-06-16 13:51   ` [PATCH 06/73] ARM: tegra: tn7: " Thierry Reding
2020-06-16 13:51   ` [PATCH 07/73] ARM: tegra: Do not mark host1x as simple bus Thierry Reding
2020-06-16 13:51   ` [PATCH 08/73] ARM: tegra: Add missing host1x properties Thierry Reding
2020-06-16 13:51   ` [PATCH 09/73] ARM: tegra: gr2d is not backwards-compatible Thierry Reding
     [not found]     ` <20200616135238.3001888-10-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-17 16:21       ` Dmitry Osipenko
     [not found]         ` <9f56be9a-1a79-07cc-371f-f3abcd20701e-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-22 15:22           ` Thierry Reding
2020-06-22 15:29             ` Dmitry Osipenko
2020-06-16 13:51   ` [PATCH 10/73] ARM: tegra: gr3d " Thierry Reding
2020-06-16 13:51   ` [PATCH 11/73] ARM: tegra: The Tegra114 DC " Thierry Reding
2020-06-16 13:51   ` [PATCH 12/73] ARM: tegra: Drop display controller parent clocks on Tegra114 Thierry Reding
     [not found]     ` <20200616135238.3001888-13-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-24 16:19       ` Dmitry Osipenko
     [not found]         ` <0bc2ec0e-f863-207a-d61b-058503598139-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-25  7:37           ` Thierry Reding
2020-06-25 14:18             ` Dmitry Osipenko
2020-06-16 13:51   ` [PATCH 13/73] ARM: tegra: Rename sdhci nodes to mmc Thierry Reding
2020-06-16 13:51   ` [PATCH 14/73] ARM: tegra: Tegra114 SDHCI is not backwards-compatible Thierry Reding
2020-06-16 13:51   ` [PATCH 15/73] ARM: tegra: Add missing #phy-cells property to USB PHYs Thierry Reding
2020-06-16 13:51   ` [PATCH 16/73] ARM: tegra: Add missing #sound-dai-cells property to codecs Thierry Reding
2020-06-16 13:51   ` [PATCH 17/73] ARM: tegra: Name GPIO hog nodes consistently Thierry Reding
2020-06-16 13:51   ` [PATCH 18/73] ARM: tegra: Use standard name for Ethernet devices Thierry Reding
2020-06-16 13:51   ` [PATCH 19/73] ARM: tegra: Use proper tuple notation Thierry Reding
2020-06-16 13:51   ` [PATCH 20/73] ARM: tegra: Add micro-USB A/B port on Jetson TK1 Thierry Reding
2020-06-16 13:51   ` [PATCH 21/73] ARM: tegra: Add missing panel power supplies on Nyan Thierry Reding
2020-06-16 13:51   ` [PATCH 22/73] ARM: tegra: Add #reset-cells to Tegra124 memory controller Thierry Reding
2020-06-16 13:51   ` [PATCH 23/73] ARM: tegra: Fix order of XUSB controller clocks Thierry Reding
2020-06-16 13:51   ` [PATCH 24/73] ARM: tegra: Add missing clock-names for SDHCI controllers Thierry Reding
2020-06-16 13:51   ` [PATCH 25/73] ARM: tegra: Use proper unit-addresses for OPPs Thierry Reding
2020-06-16 13:51   ` [PATCH 26/73] ARM: tegra: medcom-wide: Remove extra panel power supply Thierry Reding
2020-06-16 13:51   ` [PATCH 27/73] ARM: tegra: Use numeric unit-addresses Thierry Reding
2020-06-16 13:51   ` [PATCH 28/73] ARM: tegra: Use standard names for LED nodes Thierry Reding
2020-06-16 13:51   ` [PATCH 29/73] ARM: tegra: seaboard: Use standard battery bindings Thierry Reding
2020-06-16 13:51   ` [PATCH 30/73] ARM: tegra: Use standard names for SRAM nodes Thierry Reding
2020-06-16 13:51   ` [PATCH 31/73] ARM: tegra: Add parent clock to DSI output Thierry Reding
2020-06-16 13:51   ` [PATCH 32/73] ARM: tegra: Remove spurious comma from node name Thierry Reding
2020-06-16 13:51   ` [PATCH 33/73] ARM: tegra: The Tegra30 DC is not backwards-compatible Thierry Reding
2020-06-16 13:51   ` [PATCH 34/73] ARM: tegra: The Tegra30 SDHCI " Thierry Reding
2020-06-16 13:52   ` [PATCH 35/73] arm64: tegra: Add missing #phy-cells property on Jetson TX2 Thierry Reding
2020-06-16 13:52   ` [PATCH 36/73] arm64: tegra: Add missing #phy-cells property on Jetson AGX Xavier Thierry Reding
2020-06-16 13:52   ` [PATCH 37/73] arm64: tegra: Fix #address-cells/#size-cells for SRAM on Tegra186 Thierry Reding
2020-06-16 13:52   ` [PATCH 38/73] arm64: tegra: Use standard notation for interrupts Thierry Reding
2020-06-16 13:52   ` [PATCH 39/73] arm64: tegra: Remove extra compatible for Tegra194 SDHCI Thierry Reding
2020-06-16 13:52   ` [PATCH 40/73] arm64: tegra: Remove extra compatible for Tegra210 SDHCI Thierry Reding
2020-06-16 13:52   ` [PATCH 41/73] arm64: tegra: Describe interconnect paths on Tegra186 Thierry Reding
2020-06-16 13:52   ` [PATCH 42/73] arm64: tegra: Describe interconnect paths on Tegra194 Thierry Reding
2020-06-16 13:52   ` [PATCH 43/73] arm64: tegra: Add interrupt for Tegra194 memory controller Thierry Reding
2020-06-16 13:52   ` [PATCH 44/73] arm64: tegra: Add Tegra132 compatible string for host1x Thierry Reding
2020-06-16 13:52   ` [PATCH 45/73] arm64: tegra: Add interrupt-names " Thierry Reding
2020-06-16 13:52   ` [PATCH 46/73] arm64: tegra: Remove parent clock from display controllers Thierry Reding
2020-06-16 13:52   ` [PATCH 47/73] arm64: tegra: Fixup I/O and PLL supply names for HDMI/DP Thierry Reding
2020-06-16 13:52   ` [PATCH 48/73] arm64: tegra: Add unit-address to memory node Thierry Reding
2020-06-16 13:52   ` [PATCH 49/73] arm64: tegra: Rename sdhci nodes to mmc Thierry Reding
2020-06-16 13:52   ` [PATCH 50/73] arm64: tegra: Enable XUSB on Norrin Thierry Reding
2020-06-16 13:52   ` [PATCH 51/73] arm64: tegra: Remove undocumented battery-name property Thierry Reding
2020-06-16 13:52   ` [PATCH 52/73] arm64: tegra: Remove simple clocks bus Thierry Reding
     [not found]     ` <20200616135238.3001888-53-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-30 11:13       ` Jon Hunter
     [not found]         ` <46e907c8-6fd5-73ff-9ca4-bcf3ee19d716-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2020-06-30 11:16           ` Jon Hunter
2020-06-16 13:52   ` [PATCH 53/73] arm64: tegra: Remove simple regulators bus Thierry Reding
     [not found]     ` <20200616135238.3001888-54-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-30 11:11       ` Jon Hunter
     [not found]         ` <fe583ea8-6a66-f78e-b926-5d0ed775361f-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2020-06-30 11:16           ` Jon Hunter
2020-06-16 13:52   ` [PATCH 54/73] arm64: tegra: norrin: Add missing panel power supply Thierry Reding
2020-06-16 13:52   ` [PATCH 55/73] arm64: tegra: Use proper tuple notation Thierry Reding
2020-06-16 13:52   ` [PATCH 56/73] arm64: tegra: Do not mark host1x as simple bus Thierry Reding
2020-06-16 13:52   ` [PATCH 57/73] arm64: tegra: Use sor0_out clock on Tegra132 Thierry Reding
2020-06-16 13:52   ` [PATCH 58/73] arm64: tegra: Tegra132 EMC is not compatible with Tegra124 Thierry Reding
2020-06-16 13:52   ` [PATCH 59/73] arm64: tegra: Add missing #phy-cells property to USB PHYs Thierry Reding
2020-06-16 13:52   ` [PATCH 60/73] arm64: tegra: Remove unneeded power supplies Thierry Reding
2020-06-16 13:52   ` [PATCH 61/73] arm64: tegra: Update USB connector nodes Thierry Reding
2020-06-16 13:52   ` [PATCH 62/73] arm64: tegra: Use standard EEPROM properties Thierry Reding
2020-06-16 13:52   ` [PATCH 63/73] arm64: tegra: Remove XUSB pad controller interrupt from XUSB node Thierry Reding
2020-06-16 13:52   ` [PATCH 64/73] arm64: tegra: Fix {clock,reset}-names ordering Thierry Reding
2020-06-16 13:52   ` [PATCH 65/73] arm64: tegra: Do not mark display hub as simple bus Thierry Reding
2020-06-16 13:52   ` [PATCH 66/73] arm64: tegra: Use standard names for SRAM nodes Thierry Reding
2020-06-16 13:52   ` [PATCH 67/73] arm64: tegra: Remove unused interrupts from Tegra194 AON GPIO Thierry Reding
2020-06-16 13:52   ` [PATCH 68/73] arm64: tegra: Fix indentation in Tegra194 device tree Thierry Reding
2020-06-16 13:52   ` [PATCH 69/73] arm64: tegra: Rename agic -> interrupt-controller Thierry Reding
2020-06-16 13:52   ` [PATCH 70/73] arm64: tegra: Various fixes for PMICs Thierry Reding
2020-06-16 13:52   ` [PATCH 71/73] arm64: tegra: Sort nodes by unit-address on Jetson Nano Thierry Reding
2020-06-16 13:52   ` [PATCH 72/73] arm64: tegra: Rename cbb@0 to bus@0 on Tegra194 Thierry Reding
2020-06-16 13:52   ` [PATCH 73/73] arm64: tegra: Fix order of XUSB controller clocks Thierry Reding

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cf8eb9d4-70d5-400f-ecc8-2139c25563a9@nvidia.com \
    --to=jonathanh-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).