From patchwork Sun Mar 26 20:45:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13188423 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 3953FC77B60 for ; Sun, 26 Mar 2023 20:45:37 +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: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:In-Reply-To:References: List-Owner; bh=w3nJDeTQu6B1Bw+T7QtLwSSFWohDlisu1ptknU1yjkI=; b=rnMiUodHJsc207 d/EKKJE+yzKxqyb4MTuPdF5fDgZlXyMPEDYRwiNTl1x3RQzIBPFqNPEfWBPMakF7kjEHKppM9Mv/6 P1uwh5DBY7rTh7i0TzEB7i9Tek0Fe3SaGYmTBu5uliFVyBaFBobD8PaGvod52jXY7PGGSg6xbmC57 x4/X9qxnAyn0gXuBrLHBNfUByoniQyz1n9v5fpM0a3opJCUDisMy7MEkYpwYRXnBBLTt8rhGPC3vn qbaIRXmX5QVamMdZM3+tUogzZ2Hm3HqSl4kSNN66TGo8eYFiSjTHKTp6e+Ov1wdXqOlYAe1XlELui Xhs9SIznrB/XHXQZ9PWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pgXF2-009BTg-2h; Sun, 26 Mar 2023 20:45:28 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pgXEy-009BQK-0l for linux-rockchip@lists.infradead.org; Sun, 26 Mar 2023 20:45:25 +0000 Received: by mail-ed1-x52f.google.com with SMTP id y4so28037985edo.2 for ; Sun, 26 Mar 2023 13:45:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679863522; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zKeqvPxm46B8O4W9qzQW2dMP+9bNVOZP8XOxlGMFt78=; b=e/6HJAScT4RiWqlfn8XQ3KWA+0e55h9JsVVPIYhIF6NSHAAYuUJuqqAqIgZaBJjKIY jDcWTFbI34Cq08FT/AW+ngu6EivgEN5dU2Zr2Pj00tDLi5qNQlNFmJYFTR/SB3WHvjqT O0kikH5paSq8UX1KK8TnNwD4bOVmyszHMO/kPW9e15vCg/ct/UHRDKw/NIT2Z8i9IQg6 NmM9FDONp2kW8xo01KPwUWxShJDzHdjErq0HYWq2OdGQ+pwDNIH8GrT4r0uNHuIb0vIm 2pAcpzz85qCnHTIJAOn+0pdH3N2QWYfB/29FpoL4sXi2MM7+oiJ4kOMb275bwd6axEnm Urlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679863522; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zKeqvPxm46B8O4W9qzQW2dMP+9bNVOZP8XOxlGMFt78=; b=4WZk0bUngFZIkNeCCACoG1GTUCbKLtHzm84jri63eI3CAtqSg30a8RRuHnnPwFfd2+ zMZcCtqlFjPCvUVsRRnxcl96Y0sm+IdMh8y0tes3hcH87bmVKPq343ZKQnx61YI7D3di rtI0dzs1+YJWpofnhdOaJTz1C+wWGSQDvXl94vAIIZl2IlUj0GZS401SdVQkxB2CGGMk 6qnmgLzFXA8qbOfsnPDoJkO8Ao4jI40r2CxEOvZ3jiMwjeeaQykLAYmSMW0gjxACpoVb QOjQhK7hkrtBv3eJLnmsXLXKoWbSbDa8Qa0kMnu7ZaHq0BEmhMdvHYMw1TkT1GrjHsLG 4DCg== X-Gm-Message-State: AAQBX9efBwz/fk8XR46nVJ37uXL9OiTaAaqNe218RpRybKSQvOBjwHKd F1hFlYMoAMsHN9yvXpyJ6TMPkA== X-Google-Smtp-Source: AKy350YvH7Ps1wazgDh82qJwbf2I7lTAQe/OGi0P5E2EuabFszjUkUyN/w0BWr357mArwQ7wiKJ2Aw== X-Received: by 2002:a17:907:724d:b0:93f:3027:ee5f with SMTP id ds13-20020a170907724d00b0093f3027ee5fmr7636908ejc.70.1679863522281; Sun, 26 Mar 2023 13:45:22 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:6b51:4748:3f3f:ffcf]) by smtp.gmail.com with ESMTPSA id ga5-20020a170906b84500b0093e23d03d72sm4090982ejb.177.2023.03.26.13.45.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Mar 2023 13:45:21 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/3] arm64: dts: rockchip: correct panel supplies Date: Sun, 26 Mar 2023 22:45:18 +0200 Message-Id: <20230326204520.80859-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230326_134524_274898_57CBBCA7 X-CRM114-Status: GOOD ( 11.52 ) 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: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The Anbernic and Odroid Go have different panels and take differently named supplies, so move all the supplies to DTS defining actual panel to fix warnings like: rk3326-odroid-go3.dtb: panel@0: 'IOVCC-supply' is a required property rk3326-odroid-go3.dtb: panel@0: 'iovcc-supply', 'vdd-supply' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts | 2 ++ arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi | 2 -- arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts | 2 ++ arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts | 2 ++ arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts | 1 + 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts b/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts index 61b31688b469..ce318e05f0a6 100644 --- a/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts +++ b/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts @@ -24,6 +24,8 @@ vibrator { &internal_display { compatible = "elida,kd35t133"; + iovcc-supply = <&vcc_lcd>; + vdd-supply = <&vcc_lcd>; }; &pwm0 { diff --git a/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi b/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi index 04eba432fb0e..80fc53c807a4 100644 --- a/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi @@ -235,10 +235,8 @@ mipi_out_panel: endpoint { internal_display: panel@0 { reg = <0>; backlight = <&backlight>; - iovcc-supply = <&vcc_lcd>; reset-gpios = <&gpio3 RK_PC0 GPIO_ACTIVE_LOW>; rotation = <270>; - vdd-supply = <&vcc_lcd>; port { mipi_in_panel: endpoint { diff --git a/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts b/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts index 139c898e590e..d94ac81eb4e6 100644 --- a/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts +++ b/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts @@ -83,6 +83,8 @@ button-sw21 { &internal_display { compatible = "elida,kd35t133"; + iovcc-supply = <&vcc_lcd>; + vdd-supply = <&vcc_lcd>; }; &rk817 { diff --git a/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts b/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts index 4702183b673c..aa6f5b12206b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts +++ b/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts @@ -59,6 +59,8 @@ battery: battery { &internal_display { compatible = "elida,kd35t133"; + iovcc-supply = <&vcc_lcd>; + vdd-supply = <&vcc_lcd>; }; &rk817_charger { diff --git a/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts b/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts index 1b9769ccfdeb..35bbaf559ca3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts +++ b/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts @@ -144,6 +144,7 @@ button-sw22 { &internal_display { compatible = "elida,kd50t048a", "sitronix,st7701"; reset-gpios = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>; + IOVCC-supply = <&vcc_lcd>; VCC-supply = <&vcc_lcd>; }; From patchwork Sun Mar 26 20:45:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13188424 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 5D98AC7619A for ; Sun, 26 Mar 2023 20:45:43 +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=TdcGv20iELjDUNGbM86vCWGEbw3qaj6T7hfG+6WBs7A=; b=iXmo30cASfVxs2 lHchfniYznXIlf2l8rzOsrF0TtkoMWw9leInW2A/bOiDJnntVQYtUSqDWlgMVlvcnGWre4s9sG+K9 oklxHwhre/SdhGffokAp0gi0NA4x1Cu9qcPPtMZ8TAFuQLNJtSU3Sejt1sPPvf2aOEe2SKbI124kJ DIOvij/1v33wU7H4C14/lykGJ9MKGpDIoznyZ13NDZrkuMyXAVxTA0irmzZKjMsmNLzNVOM0rI0Mo GHFVsD+E/2LvxQndSgyQXDE7FZe0klLi/7kQRWx1ClnXIgQ+NEtKgnsdEjDWMbM/pMc5Uf5xXQHhe BM/ID5ueGonwBsJsxQ7Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pgXFA-009BVl-1F; Sun, 26 Mar 2023 20:45:36 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pgXEz-009BQY-1A for linux-rockchip@lists.infradead.org; Sun, 26 Mar 2023 20:45:26 +0000 Received: by mail-ed1-x52a.google.com with SMTP id t10so27843583edd.12 for ; Sun, 26 Mar 2023 13:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679863523; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=E0i+V8G7VdrK/84+XZ0FJoiVtupVc5YlW2vczBepMrk=; b=N4d0IndMuyD4ayxxCiLuUSkQOXoR+pdQhWDyB2S/LO++7YRb/1nBCVGWgUUcENLFFP rJ45zYpBmlA4cLr1AgOL8lPYtrovKYY45nBNXQsIHZJ+nwZndhMY5GE0QuX5u5mh9kUK /P2TaF7atG3fldx5Yew/xw9RXAG+VYjdg1ePjG18jdVHeOuc6jb0vu34CRZvmJ83/RVE MCSmKQPxMh5XsrjZ5goHoF52U6B/ayMozmYtpShO0ZUhDB1lvFkUlD1Zp20Ial+EtBJJ wOAKTF+hSboQvl5NyNtxgj9/M4AEobruZNbIxDch0ZAN14gB9ATMOC/zy2p+TcPNn3TV VqJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679863523; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=E0i+V8G7VdrK/84+XZ0FJoiVtupVc5YlW2vczBepMrk=; b=7tshRa7tiBykaTUzzbMpTR57nTZJXxZkkI4GHy5NgNnwbEHZZP/mAE28gRxjI1PQp0 Hu6INssaDhgbOv8mQOlaSvfikYDolxuss9a3XVWVuAwjxJzYFK+Vukw4AqEZqt65TdB/ 6X9YuItA/RETVnGaUcP3oomA9VUtsj7pWnEttUpZu08hix7DTPqz355Lx+g4gx3eqxcQ 5PvB8NPajQEBJaJSK/sXId9QP4XZ2zOzfYr6QdjB0xN4WuAJTDgH/pvuf8IF8c28++AW opeCPjUI6uvpvs7+tBDDYrnBiUC1B+vAYveMqbyVtyTCah4RklsR1dowFkI9NhdVTTZW Pvsg== X-Gm-Message-State: AAQBX9e0ik01rg0xMcKjSgiVyLwDIYeh1IGASI0N2bBecFjkRtHg/zr5 toTNTwTgJYmkty/bByg+uAT/WA== X-Google-Smtp-Source: AKy350ZVWzfpQH3Vv3fya5+Swd9/DQof6OEiE4x/vV5J3lMabZeCVhLRbM1KfCFu1xvTRqLTtZAwPA== X-Received: by 2002:a17:906:2bc9:b0:939:e870:2b37 with SMTP id n9-20020a1709062bc900b00939e8702b37mr10695350ejg.70.1679863523176; Sun, 26 Mar 2023 13:45:23 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:6b51:4748:3f3f:ffcf]) by smtp.gmail.com with ESMTPSA id ga5-20020a170906b84500b0093e23d03d72sm4090982ejb.177.2023.03.26.13.45.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Mar 2023 13:45:22 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/3] arm64: dts: rockchip: use just "port" in panel on Pinebook Pro Date: Sun, 26 Mar 2023 22:45:19 +0200 Message-Id: <20230326204520.80859-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230326204520.80859-1-krzysztof.kozlowski@linaro.org> References: <20230326204520.80859-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230326_134525_401522_4F57B6FD X-CRM114-Status: GOOD ( 10.43 ) 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: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The panel bindings expect to have only one port, thus they do not allow to use "ports" node: rk3399-pinebook-pro.dtb: edp-panel: 'ports' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- .../boot/dts/rockchip/rk3399-pinebook-pro.dts | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts index 54bb0398128f..ddd45de97950 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts @@ -50,19 +50,9 @@ edp_panel: edp-panel { pinctrl-0 = <&panel_en_pin>; power-supply = <&vcc3v3_panel>; - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - #address-cells = <1>; - #size-cells = <0>; - - panel_in_edp: endpoint@0 { - reg = <0>; - remote-endpoint = <&edp_out_panel>; - }; + port { + panel_in_edp: endpoint { + remote-endpoint = <&edp_out_panel>; }; }; }; From patchwork Sun Mar 26 20:45:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13188425 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 BFE83C7619A for ; Sun, 26 Mar 2023 20:45:52 +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=u2S+4ijy5Ntg8vFHXmmW+AwHJF+tKlxGPKv0f6XE6bY=; b=c//Mcu3Q+y9CdZ fo+RW1/EakJzXiwNY4LL6xMAahKJBXb/mAOSc6tGQBYApKA7EtjwWxZf264EnByzpkiOeHlDtBsdb rw73Yby4XkikoEl8+IjW/F8UyFiZnR4oSrRjePPxNX19EvBIZTfMziEEeFOTWrDU9bLI2sLuKeS2s zISWrWgfxWu4LQvl2sZ1FoqR6NULTonG8eFfQk52hcxM4DEbFnO9XkeNJipg+y+UWwBBgi/3yZQ1p oruakGITkx48pfPN8Flge1sCYQhbSedTHBaBZh85g3JbV5XsZXB58vw/g1ZdEKlf3ONO7tcYe2id2 eDDiSixiIuRWkWmo/7cQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pgXFA-009BVw-2Q; Sun, 26 Mar 2023 20:45:36 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pgXEz-009BRJ-2d for linux-rockchip@lists.infradead.org; Sun, 26 Mar 2023 20:45:27 +0000 Received: by mail-ed1-x532.google.com with SMTP id i5so28153637eda.0 for ; Sun, 26 Mar 2023 13:45:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679863524; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EvZrVpDdfTLeMGJL+heZ69WUSKrchJNCDDAYmYCMphA=; b=ZuSKHqc9wHPiA8M5czSgpKnQcYELnVhA9nB6Md8rv7AeorKkIFrZng7Clvi28TIzlp dvwqxGXyvJy2UqUophw1hpaK/ZlOE53rmafjDvl2eh0MKZLnOP0fntZ/Ceo0waCbnpRB 86SRY4r1ZeUg6IKCiUSdtSyPRAUarFDNG824nJxQgLw8W1u6raDS5cAp3mpCslpYb0y2 jkUGE4fN9i5a5GFNh7yAYg/t0CZ9Jmguoun9FoKJ9XTn7YxHpgW/qNPMYWa1mroJMi/B eKPNSKYF2XuIjNe1NOGcdk9F7MXJ80AfPPIn2lE4SPrGxfVr15GfRn7RtPqgoTdvjYD7 42LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679863524; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EvZrVpDdfTLeMGJL+heZ69WUSKrchJNCDDAYmYCMphA=; b=Q086BUDC0pNJSzckLaJ48GJy+jvaoYJ8Yk+oCIJpr6HqibX+JEGJ4YBOaWkblLQwjy Qa/cfIiGVtqBcbrAzk5U+XX3LNndPUIRoSRISOWz+1hqIQcsnJUuPMXaEGwzCDVhdSvi NFj1FWW79MIrFNKA3dSXFhB+4zNqcoWbTGQpcrMpbTPHd/+5jj1kSUr39sUYK5/w44kt ditg1lEqH/PLTLB0ALsttZsmytpybtfWUuHMCx2P3OvYAwn8NeSBJlfdThQxa42duYbK iCpnwfWieA8hd9Y2ZVUufihJIXOR7HnM2SQFc8+pVJtlgR2tAxF9jtTOWOE4m1hhWiaW 8q9A== X-Gm-Message-State: AAQBX9fn9U0Iybq5X3cCxRH7o8YSZmQ19W+si1snmZfTTvG6SJSNMYzY 8Sl6475nr35ynBO3YJfOimRLhg== X-Google-Smtp-Source: AKy350afISWMGjqW02mLjl6itx6fdrvMvdaEhMIqaBbv+Rigfq5/tCg+ES9ZBQKvLgaHV+KIqXoVoQ== X-Received: by 2002:a17:906:dff5:b0:88c:a43d:81bc with SMTP id lc21-20020a170906dff500b0088ca43d81bcmr8568811ejc.58.1679863524094; Sun, 26 Mar 2023 13:45:24 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:6b51:4748:3f3f:ffcf]) by smtp.gmail.com with ESMTPSA id ga5-20020a170906b84500b0093e23d03d72sm4090982ejb.177.2023.03.26.13.45.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Mar 2023 13:45:23 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/3] arm64: dts: rockchip: use just "port" in panel on RockPro64 Date: Sun, 26 Mar 2023 22:45:20 +0200 Message-Id: <20230326204520.80859-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230326204520.80859-1-krzysztof.kozlowski@linaro.org> References: <20230326204520.80859-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230326_134525_852323_79F31B71 X-CRM114-Status: GOOD ( 10.76 ) 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: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The panel bindings expect to have only one port, thus they do not allow to use "ports" node: rk3399-rockpro64.dtb: panel@0: 'ports' does not match any of the regexes: 'pinctrl-[0-9]+' There is only one endpoint, so use simpler form without "reg". Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi index 78157521e944..bca2b50e0a93 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi @@ -647,16 +647,10 @@ mipi_panel: panel@0 { avdd-supply = <&avdd>; backlight = <&backlight>; dvdd-supply = <&vcc3v3_s0>; - ports { - #address-cells = <1>; - #size-cells = <0>; - port@0 { - reg = <0>; - - mipi_in_panel: endpoint { - remote-endpoint = <&mipi_out_panel>; - }; + port { + mipi_in_panel: endpoint { + remote-endpoint = <&mipi_out_panel>; }; }; };