From patchwork Mon Dec 14 02:47:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Ruehl X-Patchwork-Id: 11971191 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64B77C4361B for ; Mon, 14 Dec 2020 02:49:08 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 23AEB22D57 for ; Mon, 14 Dec 2020 02:49:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 23AEB22D57 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gtsys.com.hk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=zXEFzylmMXpZEcr6AzTaGBzM8s+Q1fDExEf9+OoL99o=; b=2x/8V9A0SkrE6JFXE30pEUXoy FRVVoUVFe5ZQS+O7+L8WdWo+AV7MfYHf4zyXf8OXmG7QpKFE8THSgYWq9Q65PPnyWzFbluuAWjZH3 OuQwaFV1OlE9lKD5Jil6QY8IkIK1VCkUaoQ6nLd/BInWHwWFcLHBk5XYc2PhRDjZSVoIwLVMBTjtA y8/5JqiRCDFJW7aeko/ZILPu3Ypkq/tfxCHqLv6AbWEvZX09bOQ8rEV48kacWx0j+7IUT7VYu8gEk DcgFe62O3qm8+1StgekRlAFLgpagedlnRDSd4ppG4aybBTYP7PNrG76v59+96RbJ/0UAD8jwHlnCz Yphg/ezPQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kodtt-0004Ca-No; Mon, 14 Dec 2020 02:47:49 +0000 Received: from [27.111.83.178] (helo=mail.gtsys.com.hk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kodtq-0004BM-6h; Mon, 14 Dec 2020 02:47:47 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.gtsys.com.hk (Postfix) with ESMTP id 13DFC20138CB; Mon, 14 Dec 2020 10:47:43 +0800 (HKT) X-Virus-Scanned: Debian amavisd-new at gtsys.com.hk Received: from mail.gtsys.com.hk ([127.0.0.1]) by localhost (mail.gtsys.com.hk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8nXg4Wu3YEwY; Mon, 14 Dec 2020 10:47:42 +0800 (HKT) Received: from s01.gtsys.com.hk (unknown [10.128.4.2]) by mail.gtsys.com.hk (Postfix) with ESMTP id EF58C20138C6; Mon, 14 Dec 2020 10:47:42 +0800 (HKT) Received: from armhf2.gtsys.com.hk (unknown [10.128.4.15]) by s01.gtsys.com.hk (Postfix) with ESMTP id F40DCC01FAD; Mon, 14 Dec 2020 10:47:42 +0800 (HKT) Received: by armhf2.gtsys.com.hk (Postfix, from userid 1000) id B5C1C2000CF; Mon, 14 Dec 2020 10:47:42 +0800 (HKT) From: Chris Ruehl To: Chris Ruehl Subject: [PATCH 1/3] phy: rockchip: emmc, add vendor prefix to optional dts properties Date: Mon, 14 Dec 2020 10:47:17 +0800 Message-Id: <20201214024720.24656-2-chris.ruehl@gtsys.com.hk> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201214024720.24656-1-chris.ruehl@gtsys.com.hk> References: <20201214024720.24656-1-chris.ruehl@gtsys.com.hk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201213_214746_444351_8FECECDA X-CRM114-Status: UNSURE ( 9.85 ) X-CRM114-Notice: Please train this message. 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: Rob Herring , Heiko Stuebner , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kishon Vijay Abraham I , linux-rockchip@lists.infradead.org, Vinod Koul , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Update the implementation add "rockchip," vendor prefix for the optional dts properties. Prefix referred from vendor-prefixes.yaml Signed-off-by: Chris Ruehl --- drivers/phy/rockchip/phy-rockchip-emmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/phy/rockchip/phy-rockchip-emmc.c b/drivers/phy/rockchip/phy-rockchip-emmc.c index 1e424f263e7a..2fdbc8495798 100644 --- a/drivers/phy/rockchip/phy-rockchip-emmc.c +++ b/drivers/phy/rockchip/phy-rockchip-emmc.c @@ -377,13 +377,13 @@ static int rockchip_emmc_phy_probe(struct platform_device *pdev) rk_phy->enable_strobe_pulldown = PHYCTRL_REN_STRB_DISABLE; rk_phy->output_tapdelay_select = PHYCTRL_OTAPDLYSEL_DEFAULT; - if (!of_property_read_u32(dev->of_node, "drive-impedance-ohm", &val)) + if (!of_property_read_u32(dev->of_node, "rockchip,drive-impedance-ohm", &val)) rk_phy->drive_impedance = convert_drive_impedance_ohm(pdev, val); - if (of_property_read_bool(dev->of_node, "enable-strobe-pulldown")) + if (of_property_read_bool(dev->of_node, "rockchip,enable-strobe-pulldown")) rk_phy->enable_strobe_pulldown = PHYCTRL_REN_STRB_ENABLE; - if (!of_property_read_u32(dev->of_node, "output-tapdelay-select", &val)) { + if (!of_property_read_u32(dev->of_node, "rockchip,output-tapdelay-select", &val)) { if (val <= PHYCTRL_OTAPDLYSEL_MAXVALUE) rk_phy->output_tapdelay_select = val; else From patchwork Mon Dec 14 02:47:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Ruehl X-Patchwork-Id: 11971195 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2499DC4361B for ; Mon, 14 Dec 2020 02:49:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 D7AF022D57 for ; Mon, 14 Dec 2020 02:49:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D7AF022D57 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gtsys.com.hk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=7zLcOZ9TnWPyTFIPkq4+NfS2yPtst9lCQIuVHEz+cq0=; b=Ofq1lc3UJqPU6u+HqgUy3Ckmq vZMI0zhC/WC5kHj8cHQ6/gdlsTJU35gNQLMZt24QUjS32LRzcLKR7CXGWntADi1WEM2hcmtxMTGJb jO+DJxkbE+ZWD1xXyp5vbUVyd5iqAzNDUDomEnK8NJ8iU2Yh3uFUr9Y2u8K8wXJ9j91AqKbaVn0cz 6XiCANoGo1VbuC63xHrEdRJJ3983MvnaJz93aTg+qDHABCmU4Da8/6rSu8BtQuhF7w/e9bkiz/zxF t0T06Esj8f0eM3jrQUKHHf326fZbEyJDS0zWP9C/5kH2Ky6bC3zWxwPDgiwOICnfRQ9F2WMwXjXSN zuQzOeHVg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kodum-0004OO-7d; Mon, 14 Dec 2020 02:48:44 +0000 Received: from [27.111.83.178] (helo=mail.gtsys.com.hk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1koduk-0004NN-7J; Mon, 14 Dec 2020 02:48:43 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.gtsys.com.hk (Postfix) with ESMTP id 90F1620136F7; Mon, 14 Dec 2020 10:48:39 +0800 (HKT) X-Virus-Scanned: Debian amavisd-new at gtsys.com.hk Received: from mail.gtsys.com.hk ([127.0.0.1]) by localhost (mail.gtsys.com.hk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id npWj4ONxUwwt; Mon, 14 Dec 2020 10:48:39 +0800 (HKT) Received: from s01.gtsys.com.hk (unknown [10.128.4.2]) by mail.gtsys.com.hk (Postfix) with ESMTP id 76AC520136DB; Mon, 14 Dec 2020 10:48:39 +0800 (HKT) Received: from armhf2.gtsys.com.hk (unknown [10.128.4.15]) by s01.gtsys.com.hk (Postfix) with ESMTP id 75857C01FAD; Mon, 14 Dec 2020 10:48:39 +0800 (HKT) Received: by armhf2.gtsys.com.hk (Postfix, from userid 1000) id 638232000CF; Mon, 14 Dec 2020 10:48:39 +0800 (HKT) From: Chris Ruehl To: Chris Ruehl Subject: [PATCH 2/3] devicetree: dtsi: rk3399.dtsi, add "rockchip, " vendor prefix Date: Mon, 14 Dec 2020 10:47:18 +0800 Message-Id: <20201214024720.24656-3-chris.ruehl@gtsys.com.hk> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201214024720.24656-1-chris.ruehl@gtsys.com.hk> References: <20201214024720.24656-1-chris.ruehl@gtsys.com.hk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201213_214842_455713_FCDF0E04 X-CRM114-Status: GOOD ( 10.79 ) 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: Rob Herring , Carlos de Paula , linux-kernel@vger.kernel.org, Heiko Stuebner , devicetree@vger.kernel.org, Jacob Chen , Chen-Yu Tsai , Kishon Vijay Abraham I , Sugar Zhang , linux-rockchip@lists.infradead.org, Vinod Koul , Rob Herring , Boris Brezillon , Johan Jonker , Shunqian Zheng , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Update rk3399.dtsi with the vendor prefix referred in vendor-prefixes.yaml. Optional property: rockchip,drive-impedance-ohm Signed-off-by: Chris Ruehl --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index f5dee5f447bb..38284686aab0 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1482,7 +1482,7 @@ clock-names = "refclk"; #phy-cells = <1>; resets = <&cru SRST_PCIEPHY>; - drive-impedance-ohm = <50>; + rockchip,drive-impedance-ohm = <50>; reset-names = "phy"; status = "disabled"; }; From patchwork Mon Dec 14 02:47:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Ruehl X-Patchwork-Id: 11971197 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E48DAC4361B for ; Mon, 14 Dec 2020 02:50:10 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 96E1E22D57 for ; Mon, 14 Dec 2020 02:50:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 96E1E22D57 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gtsys.com.hk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=qr0/eRe72WUCVMfDybZZBlCyoVIcwlCNKv6Fh/zfQNc=; b=YOe2RI3/Q5APWvzlp/6vaUHZ4 qUepzltUbSQl6kJrIV+YYIks8J1L2hRxwHCxoxcauz0QQrqTBE9ngPw51VsCF0PKyFxsjkbLLyK6B mPf/OVz/hbGjcbPmFckID/K+YzSABaUjxVi8m0bwsvrxUY2Vwh8FCeYGg4DuWJoaDCm2M2AiW0jTD S9IxV+sxWO4dtjf5wS7L4beFVNJoeylX6jE+XK8a2CUnwzfEPlAxQjD77lrjKbDpdFD2J2JNWLnVJ VVghBC0dG4slzeerEs+tnREu1P5ApcbmDBRaqLaYYKHuyONSku/BwzGZ+nDj8RXj+T1yBQwuuK965 uZ7exWy7g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kodv6-0004UE-48; Mon, 14 Dec 2020 02:49:04 +0000 Received: from [27.111.83.178] (helo=mail.gtsys.com.hk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kodv3-0004T9-UH; Mon, 14 Dec 2020 02:49:02 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.gtsys.com.hk (Postfix) with ESMTP id 422F620139DE; Mon, 14 Dec 2020 10:49:00 +0800 (HKT) X-Virus-Scanned: Debian amavisd-new at gtsys.com.hk Received: from mail.gtsys.com.hk ([127.0.0.1]) by localhost (mail.gtsys.com.hk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wIylvA8Ctrid; Mon, 14 Dec 2020 10:49:00 +0800 (HKT) Received: from s01.gtsys.com.hk (unknown [10.128.4.2]) by mail.gtsys.com.hk (Postfix) with ESMTP id 2843320139A0; Mon, 14 Dec 2020 10:49:00 +0800 (HKT) Received: from armhf2.gtsys.com.hk (unknown [10.128.4.15]) by s01.gtsys.com.hk (Postfix) with ESMTP id 2CAFAC01FAD; Mon, 14 Dec 2020 10:49:00 +0800 (HKT) Received: by armhf2.gtsys.com.hk (Postfix, from userid 1000) id 16E252000CF; Mon, 14 Dec 2020 10:49:00 +0800 (HKT) From: Chris Ruehl To: Chris Ruehl Subject: [PATCH 3/3] devicetree: dtsi: rk3399-puma.dtsi, add "rockchip, " vendor prefix Date: Mon, 14 Dec 2020 10:47:19 +0800 Message-Id: <20201214024720.24656-4-chris.ruehl@gtsys.com.hk> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201214024720.24656-1-chris.ruehl@gtsys.com.hk> References: <20201214024720.24656-1-chris.ruehl@gtsys.com.hk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201213_214902_184386_3CC68391 X-CRM114-Status: GOOD ( 10.91 ) 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: Rob Herring , Heiko Stuebner , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kishon Vijay Abraham I , linux-rockchip@lists.infradead.org, Vinod Koul , Rob Herring , Johan Jonker , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Update rk3399-puma.dtsi with the vendor prefix referred in vendor-prefixes.yaml. Optional property: rockchip,drive-impedance-ohm Signed-off-by: Chris Ruehl --- arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi index 4660416c8f38..b715e73f9749 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi @@ -146,7 +146,7 @@ &emmc_phy { status = "okay"; - drive-impedance-ohm = <33>; + rockchip,drive-impedance-ohm = <33>; }; &gmac {