From patchwork Tue Dec 4 09:25:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Lo X-Patchwork-Id: 10711419 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 52BE51057 for ; Tue, 4 Dec 2018 09:55:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4450D2AF0A for ; Tue, 4 Dec 2018 09:55:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3813C2B257; Tue, 4 Dec 2018 09:55:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B93EA2AF0A for ; Tue, 4 Dec 2018 09:55:36 +0000 (UTC) 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: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=zU2kG6Ql+q6gQIYB82EUKpxwQtb+Q8sJRN+hmH8ETKY=; b=ML2luR7hX+O5Ao pykFk2j7t2bMctryoW1p7b/qnE2v2vBT/MAyXLXkUSmtgIWpKOibjogiU9J7Am8qGWZ7yF2x+G2HH M86Yu3WTfjwNp+yzBfbc9G1lqbsNt0ELGmWIvGXIZqWoBQuPzwhF2L2TUyBHFphO5slfVsfnN1HR0 0znyIi9S0tTwN7/+uROm5DkRAOwPhkx/nIzxlMkQDwu7DHCFAYH75MBPqs7W3zxBglI8Ye2xmH9Ok Ep/3R7j4BBtXDnCLwXK/cuU0OW/5udzKog6jtRRbzaErYMzhUrYPEesEQzRiClKjf7ekn4/klLgAE dRBp6Gf1AKMx6y+8A4KQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gU7QT-0000cv-5R; Tue, 04 Dec 2018 09:55:33 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gU7QJ-0000Sp-Th for linux-arm-kernel@bombadil.infradead.org; Tue, 04 Dec 2018 09:55:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KepNCfBPnU5ZiDktGsOR/RVGKY4GGdZXvAy6lpDbQD8=; b=sfucxQrIPqccE06xMExvp2PgB9 1pIurEfCFWx/03aoXooL3xYFvg7c2KoqnKo9JJmByTHnq3kevBCgmwPaJYQ0uy9YkO3rHW39cqvZs 7/cid5CDURb/7P7yrfJEAcg/cNsbcT3Gkj1I5mMtVBEgWYeqXaXfiCem9gLDweu2oIDL9jAKu60Y6 HQxrmXiyzTe6M8RFfORDmNnt11pmmNGFgRXdLqO+C2hZgkHB1ArIKke+TUzMgeBiKfnYrPnWQhQf/ OQ0PpeBCyN4QaSxdm36KJj1oeAr56hee+Ag47GvgL/wFgnIR6sSWPpcXomJ+/tL1Vcs4M7F19e7VW 0x0D4rvg==; Received: from hqemgate16.nvidia.com ([216.228.121.65]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gU6zF-0008RV-CD for linux-arm-kernel@lists.infradead.org; Tue, 04 Dec 2018 09:27:25 +0000 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 04 Dec 2018 01:27:12 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Tue, 04 Dec 2018 01:27:10 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Tue, 04 Dec 2018 01:27:10 -0800 Received: from HQMAIL112.nvidia.com (172.18.146.18) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 4 Dec 2018 09:27:10 +0000 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL112.nvidia.com (172.18.146.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 4 Dec 2018 09:27:09 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 4 Dec 2018 09:27:09 +0000 Received: from josephl-linux.nvidia.com (Not Verified[10.19.108.132]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7, 5, 8, 10121) id ; Tue, 04 Dec 2018 01:27:09 -0800 From: Joseph Lo To: Thierry Reding , Peter De Schrijver , Jonathan Hunter Subject: [PATCH 15/19] arm64: dts: tegra210-p2597: add pinmux for PWM-based DFLL support Date: Tue, 4 Dec 2018 17:25:44 +0800 Message-ID: <20181204092548.3038-16-josephl@nvidia.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181204092548.3038-1-josephl@nvidia.com> References: <20181204092548.3038-1-josephl@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1543915632; bh=KepNCfBPnU5ZiDktGsOR/RVGKY4GGdZXvAy6lpDbQD8=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:X-NVConfidentiality: Content-Transfer-Encoding:Content-Type; b=E3eOWFJZmHZdp7ey5fZUjE1Nan/iEBxbslX8eJOjM0ApjRc9BbGNSwSfeRUMaNH1q NAzlAWiOq7zlGVxhq2QeZ2p3Wo3+ngASL5B0kxmws53LgHUfhu4c7NKxucRJyddcS7 cYOOZl2L3/iDle5fCbTfxPSod/aAeZxvIACHp8K3arMecnl5v6JrxU8/ltBe0+8Lhw 339iAnTnc9vconf4G3AxHLNpvEzasR4pLfZDqz/UDdkBQwzI3GPZ9fTrxM/VytSCr6 Oyu16fnvdn7uIX6U/fxdF/5VEeDTichieLudBXWVlVHOfKpKwBywTQu7h7W0kTsy0L u9Beqk4dMzP2g== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181204_042725_497678_2353D0C0 X-CRM114-Status: GOOD ( 10.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-tegra@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Joseph Lo Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add pinmux for PWM-based DFLL support. Signed-off-by: Joseph Lo Acked-by: Jon Hunter --- arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi index 365726ddd418..db5dc0ad466d 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi @@ -1278,6 +1278,20 @@ nvidia,open-drain = ; }; }; + + dvfs_pwm_active_state: dvfs_pwm_active { + dvfs_pwm_pbb1 { + nvidia,pins = "dvfs_pwm_pbb1"; + nvidia,tristate = ; + }; + }; + + dvfs_pwm_inactive_state: dvfs_pwm_inactive { + dvfs_pwm_pbb1 { + nvidia,pins = "dvfs_pwm_pbb1"; + nvidia,tristate = ; + }; + }; }; pwm@7000a000 {