From patchwork Tue Apr 28 20:30:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11515489 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D913315E6 for ; Tue, 28 Apr 2020 20:30:24 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id A17C520731 for ; Tue, 28 Apr 2020 20:30:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MQTfsghI"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="rrkNHj9E" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A17C520731 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject: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=6jINl8EQ6zYYS6yKpFUT25J9mh1tZJCrcaZwbQXNKCE=; b=MQT fsghIoWtxquyeUkS4V+duu8KMbzp9uQmMutLrdemKKa6Ddpu1xFmJcVNrlzfCgEJfT/Nj13a/zBKl MMi0rPSGpdXPrMuEAnXxf023hr+FosDAA7C4v9OdpEExCESt8uP82C+GAaJX59HNidMadTdLurzqT qg9XG5Yvgq6h2Hm0hSE7ruyF1/b35/blGwgXFKTHwb/0bLvfJmHvdWdUBG+o2C4Rhf460xJdg8SO7 D/NW8kFLr2U2y3ZBhFJD/DWx422r0OBhIwoBxv1sUWhGOWgkhkgKuN2vayjF8kEg866cerqrnnPN9 YlE/8gD/c3uqOp69LWUEHZLLDlQMDEw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jTWs0-0008Gr-3I; Tue, 28 Apr 2020 20:30:20 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jTWru-0007RU-1I; Tue, 28 Apr 2020 20:30:16 +0000 Received: by mail-wm1-x341.google.com with SMTP id u127so223715wmg.1; Tue, 28 Apr 2020 13:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=cSI0lJVql2Godh5zstmOBUn+hBPwk2VKytQsLRGY6S8=; b=rrkNHj9EW6rx2BahfISMNiMkVomM9Xt6MisdacEJOvmKVG8yocdgwK66FIId9zxmbC WbOFy0Cyrm21Gk+VSqO1SixJPBoGuPBW5WTpczsg8Qy4H/vqvru8SsP0pogxssj5DZ5l st7uA9aGSLzT4AbJ3VYBkKldJTat7eZhRKmk9n6jOqk4IWTKmpdHCrJtSvavf2jVWBQW JPXvbZgZ/FYO2n1DX6SKFfEyhv8m6hPzD+FuiZ56KXRAY2TVoZWT0uPs7bBDVSoaP5RB SoSkRwaobMVatYrGr6LYeUxxtA2fTU+wSTnhCmeBJuBUmpcR8sfVqUA6ffwSG7nuGCQK CaUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=cSI0lJVql2Godh5zstmOBUn+hBPwk2VKytQsLRGY6S8=; b=lFgZnNEOPcfYoJ1haeCV0E9eGtLZ3R2omdhNrzWcVMje2lXlKhXCUAli1p31bB1P+B srIlPGudiZpASQ60QW7c0IUPQcmyZkB9lcpT9qWehaW3NKam2DOLe06ecC2nmF0SfcmG FL6zKuVwV4DTAa7eTlLYMhYDOzI8B9F9W3zzsIRy+aXZs+NH2YEnvLBg+j+7hUZmH7Jw YlH0hXa5zr5Tyi2qIl8eILm1VGlqQ0FsSCJ0bfK6IBoAS8QLaH9sIZvA97fo0506tT4B is693tB77WjBtANHJ9tQz35RNo3JVzItRE/iVxfLTeObZ5oVPooAH4RaRT49TuJjgdsL UQqQ== X-Gm-Message-State: AGi0PuZEJD8SpqpRcanKODhi45kCXMO7+t1uxwSHv755n4m/ZOEJ4Pzu 7agz1B6Q+wshKudSzrbGg869whwP X-Google-Smtp-Source: APiQypKtek0DZbQSQGByss4wVXiUG3XROnJUmkprc3ttQG8iX87SZgIl6SM9qavb5oim4rNrmlC/Sg== X-Received: by 2002:a7b:c459:: with SMTP id l25mr6335877wmi.52.1588105811692; Tue, 28 Apr 2020 13:30:11 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id 1sm4797801wmz.13.2020.04.28.13.30.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Apr 2020 13:30:10 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Subject: [PATCH v2 1/2] arm64: dts: rockchip: fix defines in pd_vio node for rk3399 Date: Tue, 28 Apr 2020 22:30:02 +0200 Message-Id: <20200428203003.3318-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200428_133014_220849_45132416 X-CRM114-Status: GOOD ( 11.82 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:341 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jbx6244[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [jbx6244[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org A test with the command below gives for example this error: arch/arm64/boot/dts/rockchip/rk3399-evb.dt.yaml: pd_vio@15: 'pd_tcpc0@RK3399_PD_TCPC0', 'pd_tcpc1@RK3399_PD_TCPC1' do not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+' Fix error by replacing the wrong defines by the ones mentioned in 'rk3399-power.h'. make -k ARCH=arm64 dtbs_check Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 2e7164c82..37279db53 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1088,12 +1088,12 @@ pm_qos = <&qos_isp1_m0>, <&qos_isp1_m1>; }; - pd_tcpc0@RK3399_PD_TCPC0 { + pd_tcpc0@RK3399_PD_TCPD0 { reg = ; clocks = <&cru SCLK_UPHY0_TCPDCORE>, <&cru SCLK_UPHY0_TCPDPHY_REF>; }; - pd_tcpc1@RK3399_PD_TCPC1 { + pd_tcpc1@RK3399_PD_TCPD1 { reg = ; clocks = <&cru SCLK_UPHY1_TCPDCORE>, <&cru SCLK_UPHY1_TCPDPHY_REF>; From patchwork Tue Apr 28 20:30:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11515493 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 18CC315E6 for ; Tue, 28 Apr 2020 20:30:43 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D708020731 for ; Tue, 28 Apr 2020 20:30:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Jna+Pmo2"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eeBZUJfz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D708020731 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=HjUBIBSm02gn5Gwm+nBxGDU9mCDm4r2Mc2wtOWRm630=; b=Jna+Pmo2rjotZ+nGRulouE0J55 hDyMWTnu5axuSWiYUyTnEmE12S+KluZh5/bNCvz+/lKHRPdf/oj24IyaA/AIzMU3sDCK65lUSELwK 55LSeLRbUIfddpAF+WC7UH1VVpRIM53Y+AIWMgITANfrnXZz/K3RKyWdVEKKlnGcppB5ionlVByXv NI+mhvSR5lgt10nTlqf3/KqyCCPH7pYXkca/avq2CPy0LALij2LAY7LePVQLwgrr9p02C6DPwlsAx wy+aDc+bQGqhepx9htHko0JVw6KIteI/vpvALvk9LXWEknkcxUjKvQ/DZt/b1FxdHSRhPZtvWh2Eh z0bPcLEQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jTWsH-0008TY-RY; Tue, 28 Apr 2020 20:30:37 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jTWru-0007eY-Pu; Tue, 28 Apr 2020 20:30:18 +0000 Received: by mail-wm1-x344.google.com with SMTP id u16so197768wmc.5; Tue, 28 Apr 2020 13:30:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=D7lH5jpMtckNSFWtOtcaCj8HA5zjfrZB2xijxB3Vzwk=; b=eeBZUJfzaTbrABWRoPU8NpncQs7kH6G4ugk7Vdy4CgWduJ2L96HkVafVsAmiprSt65 9sdZEOKk45ypC0Ahk3ZWmgoBY4USteNEaXkSzQ7TGF/HUVgD0sBqKuJOnhyZU/FfRtr1 XB+C9EH+gDAB91vMTiqzRTHY+KcGPqXzXENrxGIwsf0L/lgMhhAJyK/wbWulRNSbU7G7 /m4ea26kvZYKE64YEBG6d1bstbkbmi5VAEA4mZVFAkV4e/0B2UQUKf00dyo2UyoYHQo/ tG1GdmPO056n4QKILjfUYJ+tI5hIVPiITw+fE/U/TVZ68f/b9XdEsfJkrkYT5OEj2VnS TpkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=D7lH5jpMtckNSFWtOtcaCj8HA5zjfrZB2xijxB3Vzwk=; b=fD20u9mSlZPt577CDnEuc/FsRA0y4UwuiZUumukJe0dRAtMIpmMrQrvAvRxfMPLcRT cXQ1I/Hri8MYl8uVDGvayFK21fbVOYokpVRAomctJCWRCpVgQB0mk19cQzcdk9AGSTRp Iuj/w4s+maHU8AzZcpZ1Emdw5f10UP7XUgYfclQcABP6cD8S1//1Gd7L8/upPXM+eLdT guxETFPWt8D6Em2IpJtXrFTPbN21Dn/AzI8Hxhi73n1FeivSVSoti6Xag451nF01DLK7 lXX6Gj9+EKwNEAzRNcOH7Os1XicBpm2DxeWM8f1cZfU/uYRWLLNB4m5kLuNfef7PtoBV urzQ== X-Gm-Message-State: AGi0Pua5rimNku5rNF6zdPSBiyHzLc+kCcEhwsZ2bzEuV4keJLsfjEEU QUwsAhpKkHwnH93yb30n2eo= X-Google-Smtp-Source: APiQypISF7Ph82vT5pmWbVwsK1+ILae0VWTNn0sORfI+E79t5C6YH1tBk0jHRXhMF5Te8XG8lhktdg== X-Received: by 2002:a1c:7c18:: with SMTP id x24mr6011138wmc.146.1588105812727; Tue, 28 Apr 2020 13:30:12 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id 1sm4797801wmz.13.2020.04.28.13.30.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Apr 2020 13:30:12 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Subject: [PATCH v2 2/2] arm64: dts: rockchip: rk3399: fix pd_tcpc0 and pd_tcpc1 node position Date: Tue, 28 Apr 2020 22:30:03 +0200 Message-Id: <20200428203003.3318-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200428203003.3318-1-jbx6244@gmail.com> References: <20200428203003.3318-1-jbx6244@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200428_133015_076260_FB164D44 X-CRM114-Status: GOOD ( 12.13 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:344 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jbx6244[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [jbx6244[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The pd_tcpc0 and pd_tcpc1 nodes are currently a sub node of pd_vio. In the rk3399 TRM figure of the 'Power Domain Partition' and in the table of 'Power Domain and Voltage Domain Summary' these power domains are positioned directly under VD_LOGIC, so fix that in 'rk3399.dtsi'. Signed-off-by: Johan Jonker Reviewed-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 37279db53..a4dc1bf2e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1056,6 +1056,16 @@ clocks = <&cru HCLK_SDIO>; pm_qos = <&qos_sdioaudio>; }; + pd_tcpc0@RK3399_PD_TCPD0 { + reg = ; + clocks = <&cru SCLK_UPHY0_TCPDCORE>, + <&cru SCLK_UPHY0_TCPDPHY_REF>; + }; + pd_tcpc1@RK3399_PD_TCPD1 { + reg = ; + clocks = <&cru SCLK_UPHY1_TCPDCORE>, + <&cru SCLK_UPHY1_TCPDPHY_REF>; + }; pd_usb3@RK3399_PD_USB3 { reg = ; clocks = <&cru ACLK_USB3>; @@ -1088,16 +1098,6 @@ pm_qos = <&qos_isp1_m0>, <&qos_isp1_m1>; }; - pd_tcpc0@RK3399_PD_TCPD0 { - reg = ; - clocks = <&cru SCLK_UPHY0_TCPDCORE>, - <&cru SCLK_UPHY0_TCPDPHY_REF>; - }; - pd_tcpc1@RK3399_PD_TCPD1 { - reg = ; - clocks = <&cru SCLK_UPHY1_TCPDCORE>, - <&cru SCLK_UPHY1_TCPDPHY_REF>; - }; pd_vo@RK3399_PD_VO { reg = ; #address-cells = <1>;