mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <Claudiu.Beznea@microchip.com>
To: <Nicolas.Ferre@microchip.com>, <alexandre.belloni@bootlin.com>,
	<robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>
Cc: <linux-arm-kernel@lists.infradead.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] ARM: dts: at91: sama5d2: fix compilation warning
Date: Mon, 4 Jul 2022 06:46:13 +0000	[thread overview]
Message-ID: <b1ebd759-1b17-3695-79cf-d22b6dd6fec4@microchip.com> (raw)
In-Reply-To: <20220615080633.1881196-1-claudiu.beznea@microchip.com>

On 15.06.2022 11:06, Claudiu Beznea wrote:
> Fix the following compilation warning:
> Warning (simple_bus_reg): /ahb/apb/resistive-touch: missing or empty reg/ranges property
> 
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>

Applied to at91-dt, thanks!

> ---
>  arch/arm/boot/dts/sama5d2.dtsi | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
> index 89c71d419f82..b147db8b973f 100644
> --- a/arch/arm/boot/dts/sama5d2.dtsi
> +++ b/arch/arm/boot/dts/sama5d2.dtsi
> @@ -99,6 +99,16 @@ ns_sram: sram@200000 {
>  		ranges = <0 0x00200000 0x20000>;
>  	};
>  
> +	resistive_touch: resistive-touch {
> +		compatible = "resistive-adc-touch";
> +		io-channels = <&adc AT91_SAMA5D2_ADC_X_CHANNEL>,
> +			      <&adc AT91_SAMA5D2_ADC_Y_CHANNEL>,
> +			      <&adc AT91_SAMA5D2_ADC_P_CHANNEL>;
> +		io-channel-names = "x", "y", "pressure";
> +		touchscreen-min-pressure = <50000>;
> +		status = "disabled";
> +	};
> +
>  	ahb {
>  		compatible = "simple-bus";
>  		#address-cells = <1>;
> @@ -1050,16 +1060,6 @@ adc: adc@fc030000 {
>  				status = "disabled";
>  			};
>  
> -			resistive_touch: resistive-touch {
> -				compatible = "resistive-adc-touch";
> -				io-channels = <&adc AT91_SAMA5D2_ADC_X_CHANNEL>,
> -					      <&adc AT91_SAMA5D2_ADC_Y_CHANNEL>,
> -					      <&adc AT91_SAMA5D2_ADC_P_CHANNEL>;
> -				io-channel-names = "x", "y", "pressure";
> -				touchscreen-min-pressure = <50000>;
> -				status = "disabled";
> -			};
> -
>  			pioA: pinctrl@fc038000 {
>  				compatible = "atmel,sama5d2-pinctrl";
>  				reg = <0xfc038000 0x600>;


      parent reply	other threads:[~2022-07-04  6:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-15  8:06 Claudiu Beznea
2022-06-15  8:06 ` [PATCH 2/2] " Claudiu Beznea
2022-07-04  6:46   ` Claudiu.Beznea
2022-07-04  6:46 ` Claudiu.Beznea [this message]

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=b1ebd759-1b17-3695-79cf-d22b6dd6fec4@microchip.com \
    --to=claudiu.beznea@microchip.com \
    --cc=Nicolas.Ferre@microchip.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.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

all inboxes | Powered by JetHome®