mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: <quanyang.wang@windriver.com>, Rob Herring <robh+dt@kernel.org>,
	Michal Simek <michal.simek@xilinx.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
	<devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] arm64: dts: zynqmp: Remove si5328 device nodes
Date: Mon, 8 Mar 2021 17:27:54 +0100	[thread overview]
Message-ID: <66e639c2-a1da-8ca5-2031-fe37eb14d740@xilinx.com> (raw)
In-Reply-To: <20210308115437.2232847-1-quanyang.wang@windriver.com>



On 3/8/21 12:54 PM, quanyang.wang@windriver.com wrote:
> From: Quanyang Wang <quanyang.wang@windriver.com>
> 
> The function of_i2c_get_board_info will call of_modalias_node to check
> if a device_node contains "compatible" string. But for the device si5328
> at zcu102/zcu106 boards, there is no proper DT bindings for them. So remove
> si5328 device nodes from dts files to eliminate the error info in the boot
> message:
> 
> i2c i2c-10: of_i2c: modalias failure on /axi/i2c@ff030000/i2c-mux@74/i2c@4/clock-generator@69
> i2c i2c-10: Failed to create I2C device for /axi/i2c@ff030000/i2c-mux@74/i2c@4/clock-generator@69
> 
> Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
> ---
>  .../boot/dts/xilinx/zynqmp-zcu102-revA.dts    | 20 +------------------
>  .../boot/dts/xilinx/zynqmp-zcu106-revA.dts    | 20 +------------------
>  2 files changed, 2 insertions(+), 38 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts
> index 12e8bd48dc8c..eca6c2de84a7 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts
> @@ -580,25 +580,7 @@ i2c@4 {
>  			#address-cells = <1>;
>  			#size-cells = <0>;
>  			reg = <4>;
> -			si5328: clock-generator@69 {/* SI5328 - u20 */
> -				reg = <0x69>;
> -				/*
> -				 * Chip has interrupt present connected to PL
> -				 * interrupt-parent = <&>;
> -				 * interrupts = <>;
> -				 */
> -				#address-cells = <1>;
> -				#size-cells = <0>;
> -				#clock-cells = <1>;
> -				clocks = <&refhdmi>;
> -				clock-names = "xtal";
> -				clock-output-names = "si5328";
> -
> -				si5328_clk: clk0@0 {
> -					reg = <0>;
> -					clock-frequency = <27000000>;
> -				};
> -			};
> +			/* SI5328 - u20 */
>  		};
>  		/* 5 - 7 unconnected */
>  	};
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts
> index 18771e868399..eff7c6447087 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts
> @@ -581,25 +581,7 @@ i2c@4 {
>  			#address-cells = <1>;
>  			#size-cells = <0>;
>  			reg = <4>;
> -			si5328: clock-generator@69 {/* SI5328 - u20 */
> -				reg = <0x69>;
> -				/*
> -				 * Chip has interrupt present connected to PL
> -				 * interrupt-parent = <&>;
> -				 * interrupts = <>;
> -				 */
> -				#address-cells = <1>;
> -				#size-cells = <0>;
> -				#clock-cells = <1>;
> -				clocks = <&refhdmi>;
> -				clock-names = "xtal";
> -				clock-output-names = "si5328";
> -
> -				si5328_clk: clk0@0 {
> -					reg = <0>;
> -					clock-frequency = <27000000>;
> -				};
> -			};
> +			/* SI5328 - u20 */
>  		};
>  		i2c@5 {
>  			#address-cells = <1>;
> 

Applied.
M

      reply	other threads:[~2021-03-08 16:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-08 11:54 quanyang.wang
2021-03-08 16:27 ` Michal Simek [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=66e639c2-a1da-8ca5-2031-fe37eb14d740@xilinx.com \
    --to=michal.simek@xilinx.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk@kernel.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=quanyang.wang@windriver.com \
    --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®