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: 12846330 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 46569C433EF for ; Wed, 11 May 2022 15:06:21 +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=+ARMMZQbxLX3LKIslneZ3aNlSNC1frU61fxyEQZ8reY=; b=KDPgnPKlZewy9u AQEx/DESOcUR/j/lAO6xEFB6Ll21nVuRQsI1ZsLMxeR5Dz0sg1EZ+5H/qn7+INGPYfa9tdcN3rGNM UZ4wm1CCmouQ0KOe/hGXGGnsExowWe7HhHOzTKRkX7XhMJyvyvw4f3/vfTLMIU00RkZ7h1mr5MX7n pWUBiBoU2H3K3n1VRTdRWKPW2e1TgjwhRwMWTK82ZI7XyIw81u+6Wzry8y66HnZn/hPzCmKAUTIBr M6Jqv9+NExFIvl3HdJDa7XRK+nsjU6ZvtU5CpXvRa7ElfASReJRMMJgk0ffgVYsQILKZl+BPDv8Tx cbdUMBxZHZs+e3VjMETw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nonug-007PxL-7K; Wed, 11 May 2022 15:06:06 +0000 Received: from mail-qv1-xf2a.google.com ([2607:f8b0:4864:20::f2a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nonq7-007NhA-55; Wed, 11 May 2022 15:01:25 +0000 Received: by mail-qv1-xf2a.google.com with SMTP id eq14so2278453qvb.4; 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=t1qC+MliRp9yD0edL+o2RIxCoAr2ALgiXA+Zjgg0ij+RFka/cg3Q1D6sp3zlryCr2W 8W7Umt15aLP+LDCSNhgqWmZKHM3R34b38PA+SpVySU1EfoyMB78ChKphykfNEDlCQ8N9 g1oy325RvnGGig9w3xdKdZA81n63vfFAuoowbN772lEElk7UI0Ug9nBq3E5aJQgP3W+8 /aUgHHkdDZ+wlq0nfXHQXHg7qxI64gWH9gX+ELqnYe34GLs439nQeh+loESGuFRBdygy Gu3dJWEYHjwWn7wJDvAkPXN0fqTay7feQ67AVxnSXf4GBNdh6jn9oVSm5YK+lQ3D4BfI crTg== X-Gm-Message-State: AOAM533EPllD2WRng3080efSt+/DNwGv7sIV4HOo7EVY80lCZIs9oQXI FiVaZ0GjHZAIhmYMYQP0nSQ= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220511_080123_275137_0F151677 X-CRM114-Status: GOOD ( 10.69 ) 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 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: 12846343 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 09DA0C433F5 for ; Wed, 11 May 2022 15:11:08 +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=URsRpKbRgucLRZD7hYjAWAwENwJYqB84rGwWobCSKZ0=; b=0AwSiJMPKdXvS7 /xOSIgPbUsrsEo5Ax2fO/0cQV4eKqMAx03JT+WTruOv8M6MpkhJ7QAgOmBavDP8bmEzbGgembHEyn RR1R8qZa/fl6+rBA47gCy0UeBcdXYvVMc/f+XgklzIuqsJqs2AOxbfkmElFESXk9oGFPemMN2oSoi cHej177k1nXigIWgj0oiTIqPmOsxLHF1GjAYgWV0ipvTNG8FVbJl08Beflu8suKdS7q4eVqwcGCuo ZKnJJKJWaCA4eZQ8b9STFISSu0WeHQSIbLObbAfkjmcroTfUWwywiwOWlimmsd6F2JAWvzzjmkOaG kh7s3Cq539Mpl2UqnoDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nonzJ-007RiO-FC; Wed, 11 May 2022 15:10:53 +0000 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nonq9-007NhR-CH; Wed, 11 May 2022 15:01:26 +0000 Received: by mail-qt1-x833.google.com with SMTP id x9so2168083qts.6; 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=Xb9O+3dOmvS8YbNhHxSEeqEnAvy+UJZQfc9v7/XNcxD8Yepc9KRyLyZs4PYWF/Uul6 6mHb/rsdFj6zlEQ/QDMTQCPLAk3PuzgWl1xb/SDBQv94NIw+p6c52wBji3krYfGl2CaT 8iWp7lnf6vwUBszzB3LdNB1SwrTWE1bO2k01yzJma29rSLyWbCGd5lJbNcC4316v67iQ CxTJZ+V91HQSHIt+nRHLCgo7oofkn/gUsD+FsL3XjJ06BuIr0KGjaNOG1raWKxoGFJfe +tbEEMW3WE++CV/Uhblh49Pd9PdX2r7skzpZNYVHeYCqcNd9at/5TnXpv2u1MFYCVYOG ik1g== X-Gm-Message-State: AOAM531rrf/WhKycEtmuwlvsrzG+yRz8i3aHX8DnrLiQPNLfvh3d9SMG 9Oq8IfpDAWpTJ4K2fidxsd0= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220511_080125_464670_34EA35B2 X-CRM114-Status: GOOD ( 10.44 ) 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 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: 12846345 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 5AD44C433EF for ; Wed, 11 May 2022 15:11:14 +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=t/COd2nmHbpvLSElZIlCiQYTtxvuUHg4NDJ/Eg1ibIQ=; b=z4nBnOFMQ2aQcs q5U15m/t6am4t461jVYOFXYmUazPb2m0bFW9uQbE9z1d3mJDjIZURVMHtRJ96pRV0j+AwN6uOHz8t MXqEXRSHxu5xXrZcn3ycQ5bOpOAACxrRp32g2z4D1WZfy6+75RQlxmswa2wajhUBY0unPWqDXrUpX Kf/4X+TWTU5ii6aSIRZdmOm7QjXxjyxCOdg0NYGGx3AT618KsUhNL428Rqjs5Vz1O03fraw0qGSyB qyofINBHruxrPSLpC9iiTREUN9hwR/axyvCshINxtuRdeDRhDvm4oUjfeRFkFgFavjjIT6k1qIMK+ 3b/ZPNQjE507eo9cZq+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nonzN-007RkD-7z; Wed, 11 May 2022 15:10:57 +0000 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nonqB-007Nj2-Jv; Wed, 11 May 2022 15:01:30 +0000 Received: by mail-qt1-x832.google.com with SMTP id hf18so2211504qtb.0; 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=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=zUnLVvpCmQ9z8j8nBtyRU0KTbxGnWsIenGxQduDKYViP/eWWJjYIKuvmLWIY+/zET9 vEcrBRP0YTDC2C6YeBZ6Lfbp7GTjMkuB5Xpo6pR7d8pyJdvb0k1ZFaiA3RE9qX0hXERO K9ykoyfwhZz4+R8KiCHA5W2qkJqWr2QYrGzbrS3+CURSm65kl3ABYCWOAammf1JIBMdn AhyyqlPUBd8DqSmo4ZPk+AqcmvlKhS9V6yrzwZpfFbqfcYgmEQo6Ga24tMkLN4CwE6JU Z8uFLFIatxJ2BtElE37cHUyueydmp5CHL4PCpPD5p41oNbXnSnZi1QegbAn2rhrH3CSu 5heg== X-Gm-Message-State: AOAM532c3iQ2whnPVf4fmJ2nWsavSC9YaC4lbPhcM6XaSKas3LxoLnN2 knruEgHMVfup/FJBifuCDi4= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220511_080127_763545_A6E09F4B X-CRM114-Status: GOOD ( 11.62 ) 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 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: 12846347 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 A457BC433EF for ; Wed, 11 May 2022 15:11:19 +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=L4z7RTbINZio8lFRJuEhebUnyWQdqO6KO9qdk+rMjeY=; b=Lb9c0uy3EYpjfQ lMOiXeVju/3vjnHwrQPJrwjeiBrgVdv2lYzA5sG+pU4AQ7rcms/aXC3AQSMKSwFrYHAIePAiM8QmT OUvNQ5+TLCKY2pf0Ctq3DNUC0FsoOmwwNScJLhqAeOX5/upOEkwA1axLVS3cs2YevgdrWc17F2rf/ PW49tn/Hq6qtdiG5Mc9PyCApUo8cqWaGtdvAmbJRjwxVZfpG5xzwoQwYQ0bCL8FW4oBfSCNysPBIu 7yhqzwdE3T1atTpQ4XOjpjlAeoaEFAMQOPQ8pvO/u7+IMOwuGDObPudxzdX3paVKgJkJ+4yHoD/Yj ZWkSBYK3zOteZEYRae/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nonzV-007Rog-2j; Wed, 11 May 2022 15:11:05 +0000 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nonqA-007Nj1-OC; Wed, 11 May 2022 15:01:28 +0000 Received: by mail-qt1-x835.google.com with SMTP id hh4so2152313qtb.10; 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=zxSZQCOFea/sVThJkA8TVqtsJXBHv3NWTLF1I+hWygCZOc1RN+rbIADWBmzOtArTqQ CGOkDDCbGyKONXWSOX5wafTMatJosVG3gc/rVt7j+heE29jxSJjTJ1CwfQ1+Kj12Eped bNVDZTQsN2CNDqsPsrPtFGk/IEgd59Yv7Knn6jnaaEhRymI6ZU+DZvbkukQKKQKTKAg9 jU7hJxR80MQ+kUz8oUMkwSKwnCeslr0NCNk4IBocyH7u3KOR4lKoSsP0CgWkzmL1H1sk 2Ic+8pgflPemJ8fqzZsQ/+shki9lrcK9FCuDgm0sNw23OH/GK2y7VJt5YzQJUtYZcJN7 P3CA== X-Gm-Message-State: AOAM530WAdYyJyKumg66fdUa6bA/Md7yj9cCErQ1hBHvSfsEOQkLi4xv l/T4HgHSXVr+W6B22KUoTq8= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220511_080126_867736_62988102 X-CRM114-Status: GOOD ( 10.82 ) 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 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: 12846344 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 235F9C433F5 for ; Wed, 11 May 2022 15:11: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=INo/BDcSpQdzio4dFPD8utOTtNMVhp6oKv2DAjna5Ns=; b=c7TqLqdc/uC2kF uv8Ro5EhzXTWGqs4frtO3QxGoTfG+FMY+t+LgqIMflR+bX/5UYU4ejgc+F1ad45mcSPIBzBTG/p/F B6nQY0Roa24sj16B58uMn87oFXk7OSaqRdcYrLRlo9JU1quQf1x3kG0yaDYn3jpGUsWZxxBoOegpm +pMGXLI8/HLqOogpH32rEKyYNLum0E8vHZQJSrMwD7OVwH6DdleR2XdWaCoC9rsxDG9Q2wKhnM/p6 llRdMKKNZX0C/zvdm9iZgbn2qLkOdoBMz4WyjLjgpOGEBovKaW09UuP4QqARVwSak7e5/Ag4sotih S2wX++DUBmgBAf1zNDVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nonzQ-007RlP-7r; Wed, 11 May 2022 15:11:00 +0000 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nonqB-007NjZ-JC; Wed, 11 May 2022 15:01:28 +0000 Received: by mail-qt1-x836.google.com with SMTP id hf18so2211543qtb.0; Wed, 11 May 2022 08:01:26 -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=Izu82SlJXE8OU0taDCAwP9qMBZdSeD3MjL8JnFINZf3b5HqiweY1T22+sUgZOWPuYw HmpQYZOuLzCU8LFGx7hzL7Hi61bPqSQLdF7HXKurzVQxrBugrVCkNjo15A+F0nuHBY26 3g4WWfgTtlXjvsdIhcZmrRjUcsXXkn+K18cm8Ga11DZxuZ7t//EZDIHbDODqemhDl4Nk 5pluSaYMBqmjF2rhRW8r67Jh+DAVV8MrK3ticg5asAS0/tXvgVjf+vp67qP5/47cKMoP c8SGnd1E1EJ3htJHTTw/vvT8JMgctSSLN7AE/FzY7N8FP2M+1uoOiSIJUnM5gfXPURb1 KGVw== X-Gm-Message-State: AOAM533f8nrPFUC9Nj+lyLc71OdkLAA4j+AmXqjgWlbrfAt3GQzhHr2R ugRR1TZwnTA4GrTPO/m5rOE= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220511_080127_708887_10E07F8D X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. 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 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: 12846346 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 15B4BC433F5 for ; Wed, 11 May 2022 15:11:16 +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=I5ThqCtqw+TAJwe4H7zx1Y0uEHuZXY3za8iwypmtGoA=; b=cDQ3SioIrmZAOd vsR4Byl2D8zWu4EJANpRHScfdB31MnXKTfG5WYxC1BVCMk+s1Fv5Oy0R2i7Ejm5xJMhOHNeausKOR 523EirKQ/rR88sZfQb/gyeSmd85CnWiQ8Jko+Thg5/BlxhxjVZ3WXuq12y80zZUJ3LYqEMirxYdyJ 6qC8XOvDuPQrUqI26XT9LzzJEvncGYVEgozkWt35s4RARIrJ9zhEIzY1XjxARzSjKeOt9Sf4W28z6 lc7C9yNjhNk8/Kzrd7vwfBOhNf/koLKA5L80AZP56LrkoRGdsyjzed7hQm7s+jOZFC5tNdzZpVxL2 3vpm6ieM9ysJg12QX/eg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nonzS-007RnH-Ks; Wed, 11 May 2022 15:11:02 +0000 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nonqB-007NkU-Jy; Wed, 11 May 2022 15:01:29 +0000 Received: by mail-qt1-x832.google.com with SMTP id p4so2140271qtq.12; 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=q047zJJJdmY6pbpi84EUTh/XlIW6FGnAwTEKx4HrQpoEaWaJryHDiKOhnMQ4NUv/cr h7vCcQp4PFqwZ7PPSJdGpF0bdaD5CSikITHReKQq9Ucsk9P0gJmmhwELp379IzBjgplw Xns3aG2dCugDgHRlqenZNslQclrJ4yTsZaLVYpv3JmiaFetIh1MsiNJs4z9dmGpwklRU V3o4DFDaL4ZhLRABhUUt9ur2ZzXtJCRKRwnxcXxPjmFWLs09eYLPddHd+dy/Dw+N6bXp 0Qch7C1zsqjIs/Xzqb7BOPvdlcccsvo3KJswE5vtsgvRMK02fUkDFcHkiaZ7aeeIF7EV +yeg== X-Gm-Message-State: AOAM5325aXZVYfGR9R5EFJTQ9IzvNe2MAe60GZaFMbekC+Bw76/87oUB Om6p8oIR+WEtFyCMWkrI+mw= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220511_080127_739428_AB6F87E0 X-CRM114-Status: GOOD ( 10.46 ) 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 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";