From patchwork Thu May 19 07:51:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tommaso Merciai X-Patchwork-Id: 1962 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 5DA633F1D5 for ; Thu, 19 May 2022 09:51:28 +0200 (CEST) Received: by mail-wm1-f72.google.com with SMTP id m124-20020a1c2682000000b00393fcd2722dsf1536275wmm.4 for ; Thu, 19 May 2022 00:51:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652946687; cv=pass; d=google.com; s=arc-20160816; b=f3tu4rYKPq4i0b/u4I6ox6HhDRaTCqqwvN5sgzxIJfUuxMYcK96hm+3TKNmlMG5Ozw 8YE8+KHF8dUajbc1F36sTz1DorTNtPFowPyqIlUt0daBXPXDfMPfA8WhLUv0zGnZ/Uo6 dcwcxczXpVsyFGOg883dSJu1SSo5y/Bq3i9USCpz+F17QdLK13FDTYlcT4NvtZZSMWij ZUrGs6HGYcBw5wo1wi1hg3UBoh6diR+1Zc2bl8PShBzficromIytO6PsCkEuMCPfoYMn X2m1SsvHAvCu5D67g76Ncrx0dLiaA5KV5pl1+Ik5OPMU/cjvG9GWeVuyOeBCDBuxFdDq o0Ww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Xd2hEhEd0BmhadYmofazG8r/uEZ34zkl8Dozi4eM6LQ=; b=wk7/oD5tg041AXr5tO1jOB/SGL+IFLu7xg0iYpxQp9dmq9rwwr1cV0Zdij+fS++vym W7gygs3U0ueSBxNrNIULzPP+px2EGqspdqibnh7tFI49U7iWcu94dM2cr7lhO74agrQb T2hBdjQ7RNPL4bWotjIPNShlzCYz8ek209tc+NP7POtrknygjcTtNsbMiulNWORpL5hj 4MEIvlFoRwHKGmAdzMiExRFeIM0hFREHgfexkCdQlgaP/2BQZpdbNHfxG+nU/2knh7Dg 8UzJ8YHy1wGuhaN8fS8aik6vugidhZ2i5H+a8J7vPpT/3XLnDM2KlGGasp7KAt73KmZu TGLQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=K9Not7I+; spf=pass (google.com: domain of tommaso.merciai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=tommaso.merciai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=Xd2hEhEd0BmhadYmofazG8r/uEZ34zkl8Dozi4eM6LQ=; b=fi/nJRZ0PhXjd+qG3Xz98zKFIO3YLnh1g0ZdgVJhEbQQM2l2QWDwqMzjJtb4mx7a4e CdWwdZW8vISJIGr6DN56kbo5hXVkJChFmdqFuhpNo5/1KVdWLcYfoSdSPxaM/VvLuplp PpgUCgZ9Ky1f+/hhNlt943W2EZnAoEVcUsdz4= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=Xd2hEhEd0BmhadYmofazG8r/uEZ34zkl8Dozi4eM6LQ=; b=d8XIBKmHhjTUjYzQD3p9bDF8NUsH+9815u/Ju+/gsaDAp9DVFHXxhWsJwunHIZOUos 7Nmk6UAonXKd4dWW3hlhbdHSvXpey5ooWNjaJlS142nU8unKqSx/ncVjXeRzcfEL+yQw JOJNkwcIR9i+cPZ4Fkd4RpqcE58LJupKdhaz5E8lWw6wdjxwdI+YAqC6JVga9KN20ztN mlQZ7SEfKnnvX0HV8UYQNhcDCRyX1oItiNULbwyceGgDOQh4N1OHDWecK7O98qoJpR9f hWgyZlArtNjyqtt4AvFVZqgrhQiU7OjDrJjfLie0QC8+yuqxDIl6632JnUSZvkkklnol JltA== X-Gm-Message-State: AOAM533tWfSQ2pV4C9wRTLG5C/U//aTDIr2wrUOt/BerYts+4uH+VOra WZIt8+Z4sgZFhFqDKqJMCIXEHjAp X-Google-Smtp-Source: ABdhPJxC+IqCY4dRoPKrBMjhdhJ+wLs+2hKfs/Z9gXpc+8hps3MjU+MjPMw9V7VBYIhDMOXkiekhWg== X-Received: by 2002:a05:600c:2055:b0:397:2b06:57c7 with SMTP id p21-20020a05600c205500b003972b0657c7mr3094784wmg.97.1652946687686; Thu, 19 May 2022 00:51:27 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:1f11:b0:394:7a2e:a847 with SMTP id bd17-20020a05600c1f1100b003947a2ea847ls810643wmb.0.gmail; Thu, 19 May 2022 00:51:26 -0700 (PDT) X-Received: by 2002:a1c:4c06:0:b0:394:65c4:bd03 with SMTP id z6-20020a1c4c06000000b0039465c4bd03mr2625335wmf.8.1652946686589; Thu, 19 May 2022 00:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652946686; cv=none; d=google.com; s=arc-20160816; b=S9abIE9wKNcr0h2NefJZqaugLln4D1Otbi/kX1sHQZMN7q6aou7gMiFwx9ZUS414PU 9RwdoIUlLXVCutyuDa0Fq5646Xq0knSYhRw+dIhyMbPvGyZctSOk0AzZcQ0Cr3ihVoVO XJTb3Gcq3FuKbCDjtS+PiWOc5I1DBtEx4NrnEtXzcYeKtQJP8Z/qo+wwHd+NWl105sKg qP/Dm43Ee/53pMVaooyjFb5qMVc8J+8QzwR50LJY52gmPBhqtRKUzFvEwurlTdbCa17T X5s+yihpz+bLXt/g+ZVZfB8soY77FQd6hVckCGAxcfaXtk+sq+HvtFxhqsM0i6Y2PGjx YSFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=R8nd64bbYuPtZbk3gzEjUJPg36SEhyQKMYL9m18hVxQ=; b=DV0bS02EgVu4iuC82Z1JHTioqHl77PyYdCNWju2ZyNYfbTE+Gi7HuTUAaQNggECegu i6ClQFxmtxvCyGzZAXgWKv84OiZ+ZE1EzQSZPGFnENC+ZXfI8GqDOB0VwvUGVyfYHaJw H8CcFzdaFpCUxdVFKc7VEjG+NV7boEw7n+1JMrJSD4fsSlFNvkOf/QQttHB2rqVmuDio Qe+pO6hy6n2Ca4xyXEvSa8kK8Fue1RnHyiHOWWgxDKcWOM2EaoYXjwGEV/uKpEZi48RV hFMzxjDJoBg0STl8rmzRH2UsHkj4NFoGptxBra8fpJ2MrFerrCeEpoq9sVP0RIthX2Ty UAxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=K9Not7I+; spf=pass (google.com: domain of tommaso.merciai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=tommaso.merciai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id ba30-20020a0560001c1e00b0020d09cdde85sor2553103wrb.42.2022.05.19.00.51.26 for (Google Transport Security); Thu, 19 May 2022 00:51:26 -0700 (PDT) Received-SPF: pass (google.com: domain of tommaso.merciai@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:adf:f046:0:b0:20d:e9f:9ed6 with SMTP id t6-20020adff046000000b0020d0e9f9ed6mr2861358wro.539.1652946686410; Thu, 19 May 2022 00:51:26 -0700 (PDT) Received: from tom-ThinkPad-T14s-Gen-2i.station (net-188-217-53-154.cust.vodafonedsl.it. [188.217.53.154]) by smtp.gmail.com with ESMTPSA id c6-20020a05600c4a0600b003942a244ebfsm3370254wmp.4.2022.05.19.00.51.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 May 2022 00:51:26 -0700 (PDT) From: Tommaso Merciai To: Cc: tommaso.merciai@amarulasolutions.com, linuxfancy@googlegroups.com, linux-amarula@amarulasolutions.com, michael@amarulasolutions.com, Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Shunqian Zheng , Mauro Carvalho Chehab , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH 3/4] arm64: dts: rockchip: px30: add mux for mipi-pdn pad Date: Thu, 19 May 2022 09:51:16 +0200 Message-Id: <20220519075117.1003520-4-tommaso.merciai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220519075117.1003520-1-tommaso.merciai@amarulasolutions.com> References: <20220519075117.1003520-1-tommaso.merciai@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: tommaso.merciai@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=K9Not7I+; spf=pass (google.com: domain of tommaso.merciai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=tommaso.merciai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add right mux for mipi-pdn. Mux this pad as gpio2 14 Signed-off-by: Tommaso Merciai Tested-by: Tommaso Merciai Reviewed-by: Michael Trimarchi --- 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 53930e28eadf..0d05a1b098bc 100644 --- a/arch/arm64/boot/dts/rockchip/px30-evb.dts +++ b/arch/arm64/boot/dts/rockchip/px30-evb.dts @@ -450,8 +450,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 { @@ -544,6 +544,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 {