Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp897309rdg; Fri, 13 Oct 2023 04:48:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEYl1kmyBG2QTNvh3bpJZVGldTtgn3g1ZbKW/70ElGV0PmiOOoCQNFzH39qAWJIRhizFo9D X-Received: by 2002:a17:90a:5787:b0:276:e9ba:60c7 with SMTP id g7-20020a17090a578700b00276e9ba60c7mr23450806pji.13.1697197692856; Fri, 13 Oct 2023 04:48:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697197692; cv=none; d=google.com; s=arc-20160816; b=IeZ6Fb8OWCkP4+uTSDxJo6EBHQwzwYDrTkWr/AUYplO6uFrRJV0csceo6/XJxfTQ1Z a8LMNK72JFFnpJmvk4K3v96gWroGSA60iZyn4Qr7TZ+dhV+qHd94rMqmpm/BFF4pAmiz 3fjdR6m1TudcqLRirL2+VkPwBrEjEVI3/5nWJaduNPMFnk7E2WHSRDXki34nDVwqzTnl 0N4TOuvgf9hwwaJU87YM91xAgjZBXdFMVYc6XaNlq6prUX63608gHDD+x4v0UtqaLf3C I7fo+DVNz1UAh0xA29PzX0BjS17G6CfgdHOL4flCxoiN+vwsC49e2e3dvQ/3DXPnSA1B VnJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cnIF6JSh48luS8eQsWzGN6SMEqUM+pInp3zvmgVgP9A=; fh=wfyu9EsRgmlVoQzDe4g9r9ZLSaPvYzEraDCJBG5PQGc=; b=FwvE8B5zyhCTuRy5X+0DlazyQI+Z3Xlcw8zpgECgPbcl2F4QOiYC6SmHusa9SlQ8Z/ 3blkAn66xbyZrCzFkM5NcXbiC1gdw0PYVlG1zMJ9Bqyudm9Kryz1W2zvYPb0YmSRKagr jmXgbVYrLxwBzfCg5TiEYtCHiZl4MuN3IxPI1YZmtYJOJh3tUChWnMbfx+lj8JsRHEZL 1cCApIItPZasXylj2Y1YgnBlK1lNkuJHOIwbWVotJZSp7mtbRhCQ6donesYyEuVVBSG6 kf8xbX5nmc3iybZpmSvg46vRlk1mGcvgSedY7/pUuD0f3HzmV2ixICmFlK/QtLg45I7h V3bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="auERhDk/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id u62-20020a638541000000b005ab11ef76a4si1282674pgd.682.2023.10.13.04.48.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 04:48:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="auERhDk/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 4BE0A803E580; Fri, 13 Oct 2023 04:48:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231373AbjJMLrx (ORCPT + 99 others); Fri, 13 Oct 2023 07:47:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231222AbjJMLrv (ORCPT ); Fri, 13 Oct 2023 07:47:51 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52EFBBE; Fri, 13 Oct 2023 04:47:49 -0700 (PDT) Received: from obbardc-t14.home (unknown [IPv6:2a00:23c8:b70a:ae01:c2e1:3bb7:ed5c:6a0d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: obbardc) by madras.collabora.co.uk (Postfix) with ESMTPSA id A2AC1660735A; Fri, 13 Oct 2023 12:47:47 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1697197667; bh=7wBhq8J/K/1bY+rvYJYJn0dZJWPNRTfsi3k23DiS4JQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=auERhDk/wHm2olVXfZGaBS+q8f0ICzVsMWGOl9LcOlyjS57+Jb/4c2IDhiOxPygoW CWvBv3s7DV+bskN7fNyogAYvIn3RYndPReHhslD84IAO7P5A3aH22BgZB0ZQIhZoOc TD+nfHK/evLVd7o3yflCbfuUALEFcMPTI+9y6oBk2zKicEmiNJ6ISYTE/E0rK78k+S 1jOT+e29BeOLL5zqBoquBPwyzDOWVfO2OCTpRDO3Ru0kqDvxe+pX4u9mBr+dxTdVts erM4OfVptiTR+Y2Y3rnLGYnoSQcaeAV2/Qm174hNNXTDtVFeUezgliteiAo4JM88UZ 1yMSKDJABKlvw== From: Christopher Obbard To: linux-rockchip@lists.infradead.org Cc: kernel@collabora.com, Christopher Obbard , Arnaud Ferraris , Brian Norris , Caleb Connolly , Conor Dooley , Corentin Labbe , Heiko Stuebner , Johan Jonker , Judy Hsiao , Krzysztof Kozlowski , Rick Wertenbroek , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/2] arm64: dts: rockchip: Add i2s0-2ch-bus-bclk-off pins to RK3399 Date: Fri, 13 Oct 2023 12:47:26 +0100 Message-ID: <20231013114737.494410-2-chris.obbard@collabora.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231013114737.494410-1-chris.obbard@collabora.com> References: <20231013114737.494410-1-chris.obbard@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 13 Oct 2023 04:48:09 -0700 (PDT) Commit 0efaf8078393 ("arm64: dts: rockchip: add i2s0-2ch-bus pins on rk3399") introduced a pinctl for i2s0 in two-channel mode. Commit 91419ae0420f ("arm64: dts: rockchip: use BCLK to GPIO switch on rk3399") modified i2s0 to switch the corresponding pins off when idle. Although an idle pinctrl node was added for i2s0 in 8-channel mode, a similar idle pinctrl node for i2s0 in 2-channel mode was not added. Add it. Fixes: 91419ae0420f ("arm64: dts: rockchip: use BCLK to GPIO switch on rk3399") Signed-off-by: Christopher Obbard --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 9da0b6d77c8d2..5bc2d4faeea6d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -2457,6 +2457,16 @@ i2s0_2ch_bus: i2s0-2ch-bus { <4 RK_PA0 1 &pcfg_pull_none>; }; + i2s0_2ch_bus_bclk_off: i2s0-2ch-bus-bclk-off { + rockchip,pins = + <3 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>, + <3 RK_PD1 1 &pcfg_pull_none>, + <3 RK_PD2 1 &pcfg_pull_none>, + <3 RK_PD3 1 &pcfg_pull_none>, + <3 RK_PD7 1 &pcfg_pull_none>, + <4 RK_PA0 1 &pcfg_pull_none>; + }; + i2s0_8ch_bus: i2s0-8ch-bus { rockchip,pins = <3 RK_PD0 1 &pcfg_pull_none>, -- 2.42.0