From patchwork Mon Jun 20 16:13:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tommaso Merciai X-Patchwork-Id: 12887905 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 62503C433EF for ; Mon, 20 Jun 2022 16:15:01 +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=IGcApX5+6vAMHtJ6z1wR5xnaWbzhbh1rnjdJgbALYtI=; b=f4KcNqFAd79TYN 8l1hMSG47CE8AvRWnaHRa9kEw0taoiUJgowC3StGFMe6sR9hIynOu4KhgRQYWMkgtpRetCQONe4dP aR9nxf/UJ4FQntQ+6yOuSA98lM+ccg0Um/hT4j4LFkpCrcK4KBHL3eMUyZ214MY3LvMCKHWk/oqpL 3dfRv0FRLWAZXM5PSvlEE1pNRKwe1xSKvMWIZmWzcRVfvOobNLR5jn1IBeiEF8jGMouXhEYm4udTP zsnH2bNGyVG7P8+XQZsZ0ITQ7qjT7rNs3LWVY603wibfrqTXlqDU3erPfa2mXh5RE7sg1i4++equU 2cxbDbdpEAs+gzqLRl6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3K2P-001PSA-6X; Mon, 20 Jun 2022 16:14:05 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3K22-001PFU-UE for linux-arm-kernel@lists.infradead.org; Mon, 20 Jun 2022 16:13:44 +0000 Received: by mail-ej1-x632.google.com with SMTP id o7so22124421eja.1 for ; Mon, 20 Jun 2022 09:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xvFY1kJeejdwrQbhws2bUmgFOGvqBabSRSqYJrTktOo=; b=qUAYBfrCjlgPdw+vFkZCS6N98mtPEEFcJCL8AnfynhtMykKxG+BzaV7AxDybinThvp xTQGJKuczKViwBOXmc+MsM6lCQnDXmz8FP/Pp7hx2uYOHjW74tHDUpOzGhpkPebZO9VM Zh8GX+gGS/VEX535KxBfyMIg7M4u+ddiEpyr4= 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=xvFY1kJeejdwrQbhws2bUmgFOGvqBabSRSqYJrTktOo=; b=1sY1RrXUrEYGnSN8pGHuoqOFxutFu9BFBLhlAZiLBl9QT3zAZddvk8G5vNAqEFpWev Fm9pgC6weGCZggwkj/AXQIIMhRXv8iWyC/rZ/ddMx1xOJnpbboVH2qBKN9LBJ8N0t1ZF 0kRC+XD34BJ/OxU8EOXjPk85lK5ayerYDF+eSfTjLz0n3xvF06kVs8kRFveau8VWFOmJ SWrDidXJfFcGEUfwIcVF5PruMTDplUFE4PJAD89svQqNfI+qOVxpXHOrbn/57ZjEpwsX w+k5fP5uG1CiId4XAODoWQpETVHw2Z5TiWdn8QcbxmzQ8JTf8RTtBpB7rHcGbRWs3WN1 4UdQ== X-Gm-Message-State: AJIora8pdOuyHkdWrVwnESR5WcKwcoqv+15lUVKrEBHCyD/6waZlg9f0 uLE6xJ2SY9U2sSlmAQfAuiqbrg== X-Google-Smtp-Source: AGRyM1ulld7kB/Wo+OfSshWGx9VazvunF150Uw54sGVldCpyVXW+uBryqi3H0Dg+V7Ipf/pR5TJvKA== X-Received: by 2002:a17:907:16ab:b0:711:f0dd:91c with SMTP id hc43-20020a17090716ab00b00711f0dd091cmr21057880ejc.575.1655741610214; Mon, 20 Jun 2022 09:13:30 -0700 (PDT) Received: from tom-ThinkPad-T14s-Gen-2i.station (net-188-217-55-189.cust.vodafonedsl.it. [188.217.55.189]) by smtp.gmail.com with ESMTPSA id p26-20020a17090653da00b00706c1327f4bsm6209772ejo.23.2022.06.20.09.13.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 09:13:29 -0700 (PDT) From: Tommaso Merciai To: Cc: linuxfancy@googlegroups.com, linux-amarula@amarulasolutions.com, jacopo@jmondi.org, Tommaso Merciai , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] arm64: dts: rockchip: px30: add mux for mipi-pdn pad Date: Mon, 20 Jun 2022 18:13:19 +0200 Message-Id: <20220620161321.1898840-3-tommaso.merciai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220620161321.1898840-1-tommaso.merciai@amarulasolutions.com> References: <20220620161321.1898840-1-tommaso.merciai@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220620_091343_050759_27EBCCA3 X-CRM114-Status: GOOD ( 11.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add right mux for mipi-pdn. Mux this pad as gpio2 14 Signed-off-by: Tommaso Merciai Tested-by: Tommaso Merciai --- arch/arm64/boot/dts/rockchip/px30-evb.dts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/px30-evb.dts b/arch/arm64/boot/dts/rockchip/px30-evb.dts index cc73d4bfc5b1..aee7fecdfc15 100644 --- a/arch/arm64/boot/dts/rockchip/px30-evb.dts +++ b/arch/arm64/boot/dts/rockchip/px30-evb.dts @@ -449,8 +449,8 @@ ov5695: ov5695@36 { dvdd-supply = <&vcc1v5_dvp>; dovdd-supply = <&vcc1v8_dvp>; pinctrl-names = "default"; - pinctrl-0 = <&cif_clkout_m0>; reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>; + pinctrl-0 = <&cif_clkout_m0 &mipi_pdn>; port { ucam_out: endpoint { @@ -543,6 +543,12 @@ cif_clkout_m0: cif-clkout-m0 { <2 RK_PB3 1 &pcfg_pull_none_12ma>; }; }; + + mipi { + mipi_pdn: mipi-pdn { + rockchip,pins = <2 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; }; &pmu_io_domains {