From patchwork Wed May 11 15:01:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Geis X-Patchwork-Id: 12846325 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40B05C4332F for ; Wed, 11 May 2022 15:01:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245351AbiEKPBn (ORCPT ); Wed, 11 May 2022 11:01:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245504AbiEKPBX (ORCPT ); Wed, 11 May 2022 11:01:23 -0400 Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED4E931DFF; Wed, 11 May 2022 08:01:21 -0700 (PDT) Received: by mail-qv1-xf30.google.com with SMTP id n10so2271298qvi.5; Wed, 11 May 2022 08:01:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ocj5V1R4ifR3GEVhPfDRyP1I/Y6r02zd9DJpazO+vcc=; b=R3AnWGneJSrwRojHEzs+rDub3VWTmhlKRgjZficmVLIVjzQrmIXOyhMlSA+RNkfVtM AFW9hSLnb+T66FyTWg8v533eZkUGl/XH0w6gneWnUsucvG5zk2CqVEVNfr0lRURfzdsb LGpZx2XkXoNFzTldtCOGeQ61n1LPeUUf0a22l1+U0vlXrXBaJMw9SWyHj5AM1eCs3vfv ANxIdADtTwaMlojsAhWstTW1L0FQsfPh4T71/CD4quaVz20bMe4K94QC9/dKb1m6a3oI LDwUjcRwd4U+CFSGop/sA96X10J5PEpC7GAqKtIp7GtsoSMNWGbDnJ2QKIfMgzZ6CluO 3yZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ocj5V1R4ifR3GEVhPfDRyP1I/Y6r02zd9DJpazO+vcc=; b=Wqbrgp2lOhYUUFwGFjnqWpEWsVwgZtmkJScL4wF7gvvlNh6AL1TLXmqQo5Y15BL35h BtA46gzv+ABJhDvQZwEctBMnCv0zO1zsrmGgmwZd803BxRCf3ZofHeFctgTS2AmlFvC/ vovSRNjV/4MHtD3/kqmWI5MYdkfdaDgr6/f4P+HjXamA28NkbyDGhYfOg1rB+v/eGTAh k5W2AjJ1ClODmqgXksGwW5M9IS7Btq+Ur2YvU7HY7VrTCi56++z27BqR6nId6WDKcy2u R5sZsoaFGecg0SI2B06JTYEINsEr+qhk0JvbCG2+uVjFOuhatyBQtsn1k4K+z0H6wEft xU5w== X-Gm-Message-State: AOAM532nPo4b0rXY67eYiOxIP6vt5NSCXvxVn7v+uENPHZeV8Stq8oTA HqJvw77ZmWAcPI+JGreZn6k= X-Google-Smtp-Source: ABdhPJwRTBO6xSgCqxxLRIYnj5Gs2ENLGS7w8UvQ3g43LWvgE7ieEfSxxAsHPNP68tqkvCipMvshww== X-Received: by 2002:a05:6214:2503:b0:45a:a294:510e with SMTP id gf3-20020a056214250300b0045aa294510emr22162937qvb.49.1652281281039; Wed, 11 May 2022 08:01:21 -0700 (PDT) Received: from master-x64.sparksnet ([2601:153:980:85b1::10]) by smtp.gmail.com with ESMTPSA id h1-20020a05620a244100b0069fc6484c06sm1487134qkn.23.2022.05.11.08.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 08:01:20 -0700 (PDT) From: Peter Geis To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Elaine Zhang Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Peter Geis Subject: [PATCH v1 1/6] dt-binding: clock: Add missing rk3568 cru bindings Date: Wed, 11 May 2022 11:01:12 -0400 Message-Id: <20220511150117.113070-2-pgwipeout@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220511150117.113070-1-pgwipeout@gmail.com> References: <20220511150117.113070-1-pgwipeout@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org The rk3568 cru requires a clock input and a phandle to the grf node. Add these bindings to clear some dtbs_check warnings. Signed-off-by: Peter Geis Reviewed-by: Krzysztof Kozlowski --- .../bindings/clock/rockchip,rk3568-cru.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3568-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rk3568-cru.yaml index b2c26097827f..fc7546f521c5 100644 --- a/Documentation/devicetree/bindings/clock/rockchip,rk3568-cru.yaml +++ b/Documentation/devicetree/bindings/clock/rockchip,rk3568-cru.yaml @@ -34,6 +34,19 @@ properties: "#reset-cells": const: 1 + clocks: + maxItems: 1 + + clock-names: + const: xin24m + + rockchip,grf: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the syscon managing the "general register files" (GRF), + if missing pll rates are not changeable, due to the missing pll + lock status. + required: - compatible - reg From patchwork Wed May 11 15:01:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Geis X-Patchwork-Id: 12846329 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7996C43217 for ; Wed, 11 May 2022 15:01:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239973AbiEKPBu (ORCPT ); Wed, 11 May 2022 11:01:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245507AbiEKPBX (ORCPT ); Wed, 11 May 2022 11:01:23 -0400 Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08FD833A2D; Wed, 11 May 2022 08:01:23 -0700 (PDT) Received: by mail-qt1-x82d.google.com with SMTP id k2so2189268qtp.1; Wed, 11 May 2022 08:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oIuqiJ1KMfrOcWNf9PXlKzJzt4BdNRB8d9UpwdKjhTg=; b=NCzkQwFBqTgjN2haflpZFtU9ln1qti58wlBmjyabCDEnIDABpqWN8KKc7Yk2dl5r9b G93UPkCXT+ez1IHFaJc+8wWsjnhKlFLJeHrI95UcMYb1nyYOZiobATYkSSehWO3vCLPM WXL3tQA3nAYzkTD5Hb0uJLv6oQYtF0IeAUd7iMX1nKkAzBBCKnogIQR/tPiTbkCprLGD bgdHz4IxIx+czXjSNaEoRLcw6b3ZLNrYpLKvzV63rTRA+w4R6NAHqop5JsMq/hIjG3ph ViX94MBP4Fc+DPjGDZAZcCS/2eaRDXpfPdn7uYMlraELnbTwnW0pUYN4yxy4tz9MnWCj F4aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oIuqiJ1KMfrOcWNf9PXlKzJzt4BdNRB8d9UpwdKjhTg=; b=pYS77Om+QvZv6dcSyMOMfwLWy8tSduE3dxNlt+GF6Z3nciDb3UsZFjuVmejWOLLSjb zykOq4poCmQJ4swiFRW/t4ryWhUi/05kwOLrMwGmFRbGEQUxG2HRJVVaR3RmryPdffmN fqtASuy4tAJNh3u20VzmdlNZfJdGxsXQQMLPWMqEBbWE8upxgBL07RZdkJCkgmhK11JH f6uTEIqrYBKCrDJmy/zVaiHziCxecO/7y8h6uPWz2hp+EEtj8iX48lV/fgwwHRMFl2ao GWc7qLdq2SRnihvyIjggiiv9vozxNQYJU7EwzCsgp3wOJIIUm/8ykHExcm8jVc+G44aH VDKQ== X-Gm-Message-State: AOAM531g78UgzjDqYYXDa1ltXYJJ5b8DY2DUenSbyu+BOMR6alzODWms X3+qi1jSKQQuZWTTh+MI4Jo= X-Google-Smtp-Source: ABdhPJyVrJE9bBpSUy3Gw712E094ZqLK5sBcNBbpE1kENODFBSPxCFrfFyw5qfMfgH/qBnxn71/cog== X-Received: by 2002:a05:622a:4ca:b0:2f1:f386:4377 with SMTP id q10-20020a05622a04ca00b002f1f3864377mr24510020qtx.156.1652281281906; Wed, 11 May 2022 08:01:21 -0700 (PDT) Received: from master-x64.sparksnet ([2601:153:980:85b1::10]) by smtp.gmail.com with ESMTPSA id h1-20020a05620a244100b0069fc6484c06sm1487134qkn.23.2022.05.11.08.01.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 08:01:21 -0700 (PDT) From: Peter Geis To: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Peter Geis Subject: [PATCH v1 2/6] arm64: dts: rockchip: add clocks to rk356x cru Date: Wed, 11 May 2022 11:01:13 -0400 Message-Id: <20220511150117.113070-3-pgwipeout@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220511150117.113070-1-pgwipeout@gmail.com> References: <20220511150117.113070-1-pgwipeout@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org The rk356x cru requires a 24m clock input to function. Add the clocks properties to the cru to clear some dtbs_check warnings. Signed-off-by: Peter Geis --- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index 7cdef800cb3c..fd9e8a854328 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -336,6 +336,8 @@ pmucru: clock-controller@fdd00000 { cru: clock-controller@fdd20000 { compatible = "rockchip,rk3568-cru"; reg = <0x0 0xfdd20000 0x0 0x1000>; + clocks = <&xin24m>; + clock-names = "xin24m"; #clock-cells = <1>; #reset-cells = <1>; assigned-clocks = <&cru PLL_GPLL>, <&pmucru PLL_PPLL>; From patchwork Wed May 11 15:01:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Geis X-Patchwork-Id: 12846328 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8E03C433FE for ; Wed, 11 May 2022 15:01:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244143AbiEKPBs (ORCPT ); Wed, 11 May 2022 11:01:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245520AbiEKPB1 (ORCPT ); Wed, 11 May 2022 11:01:27 -0400 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC59124BDB; Wed, 11 May 2022 08:01:24 -0700 (PDT) Received: by mail-qt1-x835.google.com with SMTP id p4so2140108qtq.12; Wed, 11 May 2022 08:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ehskEIe5iN8y7k3SRy7I7dQU1KrIdtzHbsW6vH/ZN2w=; b=p+m2+5cZMBniorHS3GIpR5fpXoDkYGG8xLXaQI5ZyZrrYVzvKJfMbWdNgfbQBW9BJm CWAOE/jjuSGI+LAPyHLvLjWt0tQEaOO1RNObnvOsdmBOvkXb5xVT9PZetOnv4V76kGc2 wGImIK49xn7/XLmSs+VJ6iWiCurKjCkoN0mpiecPfvfbER99SsCfqgrREiRIrEKCtGpx +nqPBopag/k3Nv60vRBoHudK4tgmCOEI1lAek2gKZinwniEZiaLwlTbX3spmb8pJxoMa NEMbR8PK0UwFoFArz73iw4NnKeMornPM9600Fz9ksxXkA5K/dhdvwHpGNz9I2GGjYRRo /ylQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ehskEIe5iN8y7k3SRy7I7dQU1KrIdtzHbsW6vH/ZN2w=; b=SBhakKrBinoRff9mB4qXiRrSZBwuZinTB5VZn5fbum1X1nwY1ON49ZAwatx1nrkBpn Pw7sIhgm50+NBZYu38cpxqMzwLgOBf8QIcYstb1octb5o7zv7i0yDHVD5fLvgd+GGDVe /ozaAt7EwFSDIWGjWCgy5j7hWni52V+7YYs0xtUu0KWJZgluAPd5i6Hhjafzv9qn6CFo bGaWk/tPpIAcdGangIu/opguZpGm/PHpSvzbQIYy+bGvOlyYVMvp1QxRj21EOBgGlQCy AZdD7mwfbcsiB1RC9qVngM30koyjgAPPicLcfrv/zHmKILr9sGUVVsGJlyuxv5OE2kP6 SJIQ== X-Gm-Message-State: AOAM531bq5bVBs/wb4lReRrZdLnt4CjPpYujXJJo3LM/uW7RYZYVeLJ2 iotglbwfTJsKSmZFgyTRvZU= X-Google-Smtp-Source: ABdhPJzBYLGJuTwDEA7mH2iU4A6z3+FF6sNsnM9AaKOzjq2Fi0ZGfMGf2i1hpmWPKX4Ry36ludi3BA== X-Received: by 2002:ac8:5e0b:0:b0:2f3:c8c6:da87 with SMTP id h11-20020ac85e0b000000b002f3c8c6da87mr23035259qtx.130.1652281283131; Wed, 11 May 2022 08:01:23 -0700 (PDT) Received: from master-x64.sparksnet ([2601:153:980:85b1::10]) by smtp.gmail.com with ESMTPSA id h1-20020a05620a244100b0069fc6484c06sm1487134qkn.23.2022.05.11.08.01.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 08:01:22 -0700 (PDT) From: Peter Geis To: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Peter Geis Subject: [PATCH v1 3/6] arm64: dts: rockchip: rename Quartz64-A bluetooth gpios Date: Wed, 11 May 2022 11:01:14 -0400 Message-Id: <20220511150117.113070-4-pgwipeout@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220511150117.113070-1-pgwipeout@gmail.com> References: <20220511150117.113070-1-pgwipeout@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org The bluetooth binding for the Quartz64 Model A has incorrectly named host-wakeup and device-wakeup gpios. Rename them to clear some dtbs_check warnings. Signed-off-by: Peter Geis --- arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts index dd7f4b9b686b..ca0b92795d95 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts @@ -638,8 +638,8 @@ bluetooth { compatible = "brcm,bcm43438-bt"; clocks = <&rk817 1>; clock-names = "lpo"; - device-wake-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>; - host-wake-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>; + device-wakeup-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>; shutdown-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; From patchwork Wed May 11 15:01:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Geis X-Patchwork-Id: 12846324 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3187DC433EF for ; Wed, 11 May 2022 15:01:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245262AbiEKPBl (ORCPT ); Wed, 11 May 2022 11:01:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245517AbiEKPB1 (ORCPT ); Wed, 11 May 2022 11:01:27 -0400 Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3517613CF1; Wed, 11 May 2022 08:01:25 -0700 (PDT) Received: by mail-qt1-x82d.google.com with SMTP id h3so2181158qtn.4; Wed, 11 May 2022 08:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/p0jhonpzsgi74YqARQEXL9lrrKHBla95qJazaJgr3s=; b=BJmy2dB+d2RHnTR/+SRqn1ptD74kwKMdN6sSgOFZsfJjuf5/PVYosyUm3LlOCPlMFR xBDCyeIY99K1xAddubsk741JQCN3hourJw6iG275BFJrerTRQdQVUxLS69HhY/SI9NAz FLVstBCzDJThwbkKWybmR/RdX3ppIX2OxD7tLy87+uSpvovuMjL87t9S1zyCBlzmMCJv gviYJnwsedSZQE0tgwYEXxlQVtXloqUBua6QfLj+0dAuKe+Qf+mVmKC8hYk4uRRuZufu O+HGfMwPMaYPnuo2fJerulgU/Ah46NryDCdYkWs4/B6EChNLZnnFTNWBijbEUrcGOKEw X/7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/p0jhonpzsgi74YqARQEXL9lrrKHBla95qJazaJgr3s=; b=Xoz7V3L7dXQM6Pywfp7Lm+X681R797dBerMhtGlMf4OLE5pMQKNGLp3Aq+5vMZbKJS evkrABhTSgy6PwVV285oIaaKwUd8Z74qs3k8dXs5iwUkvt+82To8ca4LZrC+j7nD6avA qv7i6yPZJrvmV9El5TRgewcCqX/yFoIELID+YqBEYLfdo+IRfd0nknlt1Bt3J5RAUq0Q jz03YuNd3Inyla2gTgCJU6eRH1UO3CzmFfnolFoGDM3X4jHi6BiKIrNUHAp+RvDiwTnj gM3it1G55/5e0Jvq//S9KAExT/lzatPUYifHW/A+Em3bycQ9qK9gQmyuLHVMGZsE1k26 MWcw== X-Gm-Message-State: AOAM533o3FPAms/vbyQX9TXcQaJb7wSgucJhKtPXWqWdigLjAsPcvMRf 6U9cq/YS3pv5nJ2FUZ84EMQLx0vLl9qRgg== X-Google-Smtp-Source: ABdhPJx7y9paqwB+ewp1H9nKH7hMjdilX7MzvMntMscQO9+8ooGtPXzRO592Y2gkVK+bnXkFE5M7tQ== X-Received: by 2002:a05:622a:1793:b0:2e1:ba41:ed2 with SMTP id s19-20020a05622a179300b002e1ba410ed2mr24321265qtk.238.1652281284233; Wed, 11 May 2022 08:01:24 -0700 (PDT) Received: from master-x64.sparksnet ([2601:153:980:85b1::10]) by smtp.gmail.com with ESMTPSA id h1-20020a05620a244100b0069fc6484c06sm1487134qkn.23.2022.05.11.08.01.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 08:01:24 -0700 (PDT) From: Peter Geis To: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Peter Geis Subject: [PATCH v1 4/6] arm64: dts: rockchip: add Quartz64-A fan pinctrl Date: Wed, 11 May 2022 11:01:15 -0400 Message-Id: <20220511150117.113070-5-pgwipeout@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220511150117.113070-1-pgwipeout@gmail.com> References: <20220511150117.113070-1-pgwipeout@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org The Quartz64 Model A fan is bound to a single gpio. Prevent pinctrl issues in the future by binding the pinctrl assignment for the gpio. Signed-off-by: Peter Geis --- arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts index ca0b92795d95..991b7b1b8443 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts @@ -32,6 +32,8 @@ fan: gpio_fan { gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>; gpio-fan,speed-map = <0 0 4500 1>; + pinctrl-names = "default"; + pinctrl-0 = <&fan_en_h>; #cooling-cells = <2>; }; @@ -510,6 +512,12 @@ bt_wake_l: bt-wake-l { }; }; + fan { + fan_en_h: fan-en-h { + rockchip,pins = <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + leds { work_led_enable_h: work-led-enable-h { rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; From patchwork Wed May 11 15:01:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Geis X-Patchwork-Id: 12846326 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88347C433F5 for ; Wed, 11 May 2022 15:01:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245370AbiEKPBp (ORCPT ); Wed, 11 May 2022 11:01:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245513AbiEKPB1 (ORCPT ); Wed, 11 May 2022 11:01:27 -0400 Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EF8824967; Wed, 11 May 2022 08:01:25 -0700 (PDT) Received: by mail-qt1-x82d.google.com with SMTP id k2so2189268qtp.1; Wed, 11 May 2022 08:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ipDuBEhFw2DyeLXG/FGMhARGVjkT9bgP/MDyzET/qKc=; b=VqceqPLS+1htYwbnkdB1KBG2uG8SPVKbSfknbCr7putJwxx2cf4O1v6nSo207w8Kfk mRwrH00M1xaanbcOw8aB6vSJfgrOybPgim2cr4NaasjycYeaOsZy/RM3naCj5jy8hl44 UHIJ8TFs9MghONZDytS/GtSeZYibpyRbzeXrzHHeCbqCAK6ThohEfj6Fyw7tPU49UKs3 Md+mXvivlDeSsQkXR7b1yuJskVs7+nMz9LUOoBQ8gkX0lcOHu8nO1joX3gtpEfhg+0/O 9FKWuMrl78hOvqVRXoLP6dPaeZWs53md1YdoqzeYomqSXNMBnNLu7CkkGiagycu9Or43 FZ9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ipDuBEhFw2DyeLXG/FGMhARGVjkT9bgP/MDyzET/qKc=; b=B7ByMtKvKmzjH5khOwlX/JEUYwy3QjoEtVTurYZrODUfIVAlkIoYkl3YdzyONizno3 FmHJrgKU+ztOs0y0c4++S+ZNtH4D4rQHlG8yqt/3SIxdFaXiCzlOgei6qMLWuB7D6O8s FksRc9C0WbCOGOjuU2f4I7ehZoZbO5eQryhmAsrBfh6JMLFwp0zScD6VEHA81sTZAAO+ 9OOPjeW+ihiOXkwzAXkRKMxXmp6G1pZn7hlxmc0E9zxJvpNsYBa02DbsLb6LZFM8RWx7 QuhPM6Xa4sPuJGg1tIn2OTAp75uCVVmvS2loiYo3eMcUYw+GWlTeeFwg0RmwBBIU9hfR DPSQ== X-Gm-Message-State: AOAM530l1OCSEKI2iuuY3zPpppK3yWXTcc4mTjn4ciUeZglAh++u2W1L 0SG/AuD7pgnGUzzWHLh5bm8= X-Google-Smtp-Source: ABdhPJxQDBcvlYHhaql84573qZ07O8V9rUoBzOAlGDd772zbH2KQTV4gZdCmubxlDvAK9RPHKFpbtA== X-Received: by 2002:ac8:5fc9:0:b0:2f3:9bc9:e174 with SMTP id k9-20020ac85fc9000000b002f39bc9e174mr24002632qta.51.1652281285192; Wed, 11 May 2022 08:01:25 -0700 (PDT) Received: from master-x64.sparksnet ([2601:153:980:85b1::10]) by smtp.gmail.com with ESMTPSA id h1-20020a05620a244100b0069fc6484c06sm1487134qkn.23.2022.05.11.08.01.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 08:01:24 -0700 (PDT) From: Peter Geis To: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Peter Geis Subject: [PATCH v1 5/6] arm64: dts: rockchip: enable sdr-104 on sdmmc Date: Wed, 11 May 2022 11:01:16 -0400 Message-Id: <20220511150117.113070-6-pgwipeout@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220511150117.113070-1-pgwipeout@gmail.com> References: <20220511150117.113070-1-pgwipeout@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Now that we have working io-domain support, we can enable higher date rates on the sdmmc card. Before: Timing buffered disk reads: 68 MB in 3.08 seconds = 22.07 MB/sec After: Timing buffered disk reads: 188 MB in 3.02 seconds = 62.29 MB/sec Signed-off-by: Peter Geis --- arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts index 991b7b1b8443..71df64655de5 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts @@ -582,6 +582,7 @@ &sdmmc0 { disable-wp; pinctrl-names = "default"; pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; + sd-uhs-sdr104; vmmc-supply = <&vcc3v3_sd>; vqmmc-supply = <&vccio_sd>; status = "okay"; From patchwork Wed May 11 15:01:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Geis X-Patchwork-Id: 12846323 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F134C4332F for ; Wed, 11 May 2022 15:01:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237377AbiEKPBi (ORCPT ); Wed, 11 May 2022 11:01:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245544AbiEKPBa (ORCPT ); Wed, 11 May 2022 11:01:30 -0400 Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83AC8E026; Wed, 11 May 2022 08:01:27 -0700 (PDT) Received: by mail-qt1-x82f.google.com with SMTP id hf18so2211602qtb.0; Wed, 11 May 2022 08:01:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1+0VMWvkb5KhIaQ1vIx5DoEhMwYXv8cN9xgLJnTJYLQ=; b=mRKrlFNGn5IbBhXKT/0K+CcQIBoIcJDeXtaQHe6SoiiJ3T1hka4jtIcnqUuffq725v hPzBAl/d5PCCjf/aFdsx1HSmuwEhBOSHm0CmAlgqWws19GOF0Qw2+6amUhSeXnTuwbrR RbZ1J27qWdAePKn8X195kQVjfqgz0VZDQVPM0Sd2p+u2SB7/yjzRZCJ18dGoOWk+cYcq GIbgTWKbfZoDyV0O6YN02szADxJb0ot8l5O7l6CX+GxKz4OV2mtoEg2gDClc+klt1O/A Eyqij7JRO9QkV342d8baxgcl1dDfGhvmAz9TU1tGP5DJLbkbLbgmrSTJ0vRiFSeX67k1 lQEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1+0VMWvkb5KhIaQ1vIx5DoEhMwYXv8cN9xgLJnTJYLQ=; b=lTVuHtqs05YXg+1d27NLsbbxzxn4wdotEcjFLljusMc03XmxQ02GkQ4TYhsj3KgcaD 78xpNdQ/U8ww760WwN/QUC8IFdlp0urndxTfGS2OhGvfLQmDB/bY74BUfVg3Y6PRMjZ7 pfVqtTeAKZJzUaNYJJLWuR+YnpTtS6dkxm6+eIqhx3RxAqjmFg6rWYnil7HWXYWmTuTl 2gOqLv2BVazMIgKw/U2vxmpRJvKGPuBMqsxGqdYKlVqwxhthmfSP438RDtkLByr5NqD0 qM7wZGhg1MAqUKHzoxlfYCWEA1fkfiISQMkzvFVqIsqZw8icPGOTN/a6qG0Q5hbBEoCv nUlg== X-Gm-Message-State: AOAM531u4ZBjC1geufnMidjDghXDadw203+FSm8LhvDb+oBcNFt4bDYP k0tZ4dDCuUkcRE47MgHyspA= X-Google-Smtp-Source: ABdhPJxjiw+10SAJyJBRk1SuW3dIg3jBhQFMKieH82FSOH5Tb12OHXebD6jBjE/GmPefF6g0dMS8nw== X-Received: by 2002:ac8:7f43:0:b0:2f3:d55d:7296 with SMTP id g3-20020ac87f43000000b002f3d55d7296mr15820698qtk.635.1652281286126; Wed, 11 May 2022 08:01:26 -0700 (PDT) Received: from master-x64.sparksnet ([2601:153:980:85b1::10]) by smtp.gmail.com with ESMTPSA id h1-20020a05620a244100b0069fc6484c06sm1487134qkn.23.2022.05.11.08.01.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 08:01:25 -0700 (PDT) From: Peter Geis To: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Peter Geis Subject: [PATCH v1 6/6] arm64: dts: rockchip: enable sfc controller on Quartz64 Model A Date: Wed, 11 May 2022 11:01:17 -0400 Message-Id: <20220511150117.113070-7-pgwipeout@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220511150117.113070-1-pgwipeout@gmail.com> References: <20220511150117.113070-1-pgwipeout@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Add the sfc controller binding for the Quartz64 Model A. This is not populated by default, so leave it disabled. Signed-off-by: Peter Geis --- .../boot/dts/rockchip/rk3566-quartz64-a.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts index 71df64655de5..6ec349e7e521 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts @@ -603,6 +603,22 @@ &sdmmc1 { status = "okay"; }; +&sfc { + pinctrl-0 = <&fspi_pins>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <24000000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <1>; + }; +}; + /* spdif is exposed on con40 pin 18 */ &spdif { status = "okay";