From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 66808D609C1 for ; Wed, 27 Nov 2024 09:47:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5OFQDnEb7CmjfRA1dN5iKUWGfBL32S+boy4MorqGJf4=; b=1v1BxTzveqv2qK lDkIPKZ4GhoQ5XVrJkT9iBe+yfD9ZkcxewKelxed0DmuqqrdLR897uN9LMm1/AO0m8IE4AKW16CbV Y+NU8UZV71NNwDOL6T4hAdhEBW1Ekxy6MRLY8RtbPA9B4d86Dq9aGEssA904eJIWCCvz8BMFkwwlt +wTDUzubAVbKML0a4mokBxoFjJt5d5yHx1DezGCA2K1Htz/wd+Jq/M1z6QHaKLhXzFCVP3IUUZ+0o pj7/txHoG9bttpqb7KgXabCZk4211XqhImohzVhtp1YJSOElWgtP5BELKE0i2eJIIK+EOmV8hYdMB 5mQKUCpO2VwcqftWfiww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tGEdY-0000000Cjef-0nZw; Wed, 27 Nov 2024 09:47:08 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGEcU-0000000CjOo-2SsT; Wed, 27 Nov 2024 09:46:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Type:Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=SyxKs+KHPcd6JCGKDM5nONfpeJupnL+SBPURReFBlX0=; b=o3SkBXnw0CRR3bOAH60oImlOxB DDqJSD8yu3c0BzZEooC7g7Y8X0LB4qWYuNRZQL3IiGloekYO/RVVFn6kzGR8ua01nkIH1rsZgeujg blf75qx+LuC+vqJoaKwpM6SQAlxol0Tk9KnaD+tT4hs1af5m9TYtlR2wU/5S4Kx58OT3SR4rkFwL2 MpxyXstlgb9BRD1rbmCH44ygBrNJAFQPQlO5QyneF50/mKhhVZYzxVIbO9nUSRsyQGYRSe9zcmy80 +/fU6ZcLpmSsTw6y8boBg318e0AXNmwGV7WLJChlrk1Lg/h2yhn2+qPKM2oMKtoqyxu80BSKY3q+I pyvyHm7Q==; Received: from i5e86190f.versanet.de ([94.134.25.15] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tGEcT-0007EQ-5U; Wed, 27 Nov 2024 10:46:01 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Quentin Schulz Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Heiko Stuebner Subject: Re: [PATCH 3/3] arm64: dts: rockchip: add overlay for tiger-haikou video-demo adapter Date: Wed, 27 Nov 2024 10:46:00 +0100 Message-ID: <4636112.cEBGB3zze1@diego> In-Reply-To: References: <20241106123758.423584-1-heiko@sntech.de> <20241106123758.423584-4-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241127_014602_627101_2ECD9AB7 X-CRM114-Status: GOOD ( 21.31 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Hi Quentin, Am Mittwoch, 6. November 2024, 14:18:49 CET schrieb Quentin Schulz: > On 11/6/24 1:37 PM, Heiko Stuebner wrote: > > diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile > > index 09423070c992..0c4ee6a767b8 100644 > > --- a/arch/arm64/boot/dts/rockchip/Makefile > > +++ b/arch/arm64/boot/dts/rockchip/Makefile [...] > > +&dsi0 { > > + #address-cells = <1>; > > + #size-cells = <0>; > > Shouldn't those be in the SoC dtsi? Is there any world where this would > be different per board? It's more of a we need that here to _compile_ the dtbo, so one gets to duplicate them, as the dtbo is not compiled _against_ the dtb, hence dtc does not know about the parent #address-cells value. > > + status = "okay"; > > + > > + panel@0 { > > + compatible = "leadtek,ltk050h3148w"; > > + reg = <0>; > > + backlight = <&backlight>; > > + iovcc-supply = <&vcc1v8_video>; > > + reset-gpios = <&pca9670 0 GPIO_ACTIVE_LOW>; > > + vci-supply = <&vcc2v8_video>; > > + > > + port { > > + mipi_panel_in: endpoint { > > + remote-endpoint = <&dsi0_out_panel>; > > + }; > > + }; > > + }; > > +}; > > + > > +&dsi0_in { > > + dsi0_in_vp3: endpoint { > > + remote-endpoint = <&vp3_out_dsi0>; > > + }; > > +}; > > + > > +&dsi0_out { > > + dsi0_out_panel: endpoint { > > + remote-endpoint = <&mipi_panel_in>; > > + }; > > +}; > > + > > +&i2c6 { > > + /* OV5675, GT911, DW9714 are limited to 400KHz */ > > + clock-frequency = <400000>; > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > Mmmm why the address and size cells properties here? They should already > be part of the SoC dtsi no? same as above > > +&pwm0 { > > + pinctrl-0 = <&pwm0m1_pins>; > > + pinctrl-names = "default"; > > The other two pin muxes for PWM0 are either: > - the pin used for CAN > - the pin routed to an internal component (unexposed to Q7) and used as > a GPIO > > so please move the pinctrl to the Tiger SoM DTSI. the pwm0-pinctrl is actually already set in the tiger.dtsi, so I'll just remove it from here. > > + status = "okay"; > > +}; > > + > > +&vp3 { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > Shouldn't those be in the SoC dtsi? same as dsi and i2c #adress-cells Heiko _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip