Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4381853imw; Tue, 12 Jul 2022 07:05:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vLn+p2NpTsnf2czMTl5OP8a3+hI13I6op6v3OhUS4ryb9ubJAd1UxWZhw3z8WM5A9KayoT X-Received: by 2002:a17:906:5d04:b0:722:f46c:b891 with SMTP id g4-20020a1709065d0400b00722f46cb891mr24066737ejt.4.1657634700950; Tue, 12 Jul 2022 07:05:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657634700; cv=pass; d=google.com; s=arc-20160816; b=bc+BATzSNe0IBztAmAw2iLEyZuzKifboSyNRiobHyswmQ2dqBl2XmfXsk/04ovAG9E krrwoYGXQruVlEDXzPC4rRt3/cWMDAeY80eMgnM1FbgOYZaZudaw9e6XX1xnAbQsc42S ZF8CWgjoQAk896COJOl5NhAy+whCnioAR8ILDEA4Wm16j/l0ayMWYartK2H9j+qVWtwx PQJuBnYuA0aW1aSicb0BQUTWK7bLFdxQj+sPpr29vkb8j+orfR/QP+zfo24PUxTDjsPw xyMCmbcIUZtHaQg002wkle4O9a86s7Wo8thx7qtq9AMx4XVlY9q3gAzneFImTsPhQS5R Lg3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=6n2CfwSZBHMO8/Au/I+BG4gcMtjZgGGhQc8yo6CWpY0=; b=ITHKtT3sdl7H6m0IIRZiQpwmOCtuFcLG0xFWnGVU6080GtsPqP6cZ0YlLmc7CIu7jO /kCIDRdUnO69TBZS501zommwv/Dzjg8lyctaXbIWvDvaM0DIYZZFHHp5+LFvLejD6TjC m4OLhiDlG3HIlaYa9wHuWXceE8OgsE94iVwicLPQaTlO5+6tUqzrrgNQyv7KWE0TNUwF SbYojpQLqp1/5pI1Uz/UbmwdfvbSrQCviwBf5Pp6prBnRhWhD5ND2/xonotb0WOn2KJJ 6ezTyzs5MZcfLYZ1Dg/xcWYE+b2J2cZeYT0uH2ACTuEV2jzfPW48rS51FecrtJa+gIUO rGuA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=Zsr1gLaD; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a19-20020a170906671300b0072b10e05120si2700695ejp.297.2022.07.12.07.04.24; Tue, 12 Jul 2022 07:05:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=Zsr1gLaD; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230010AbiGLNcX (ORCPT + 99 others); Tue, 12 Jul 2022 09:32:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbiGLNcV (ORCPT ); Tue, 12 Jul 2022 09:32:21 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2073.outbound.protection.outlook.com [40.107.22.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48B35B6285; Tue, 12 Jul 2022 06:32:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=biTzxlkgqLFq5N3UaZdI/vInnML3Cwafs5dcLRKc0v04MuYgV83ehIGB2IrYA5P1zPKGA7FHOhALMCKKuU39MopuJEvcT5Ew5DtENgHhtECGNYFdhZF+7aXUMvCTlN0slar3jSujJLIGf6Axr61xBmbZr/h7mV3FCuU9R1lT4sJQz7CjAmsNsoOx27d8cJrvKaWOVMoB7MMwT3cjeVIjNR1BGaIEK1CKNy+VYz9o2n2ycjwn09XrhcwgqgTxV6AtWATnJlcBR8p2zKOHK2VcHSs5n5jyG+JK9EuQCrIyHHAJCPprptgEYvtKSrZdnYVUWkdwel3/cZP04oEedim3kQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6n2CfwSZBHMO8/Au/I+BG4gcMtjZgGGhQc8yo6CWpY0=; b=crprU+ZTs8uasMrfkGWS1gQohL7DQHI2SvD5/iRC41FZ9xGefijdn0Qr2fWItw+TEKaGfS6He3M2n+GHV912C7epBnqHAFlj6Kac42PYqhmVDKPZZvsvcFWEzhpcoinDfpV11m2DhuAPZZkvWuOhy7UcM5DSdZMqPCW9ZxfCrqVf5TvfRFbKDYxMkTlHopvF03D3hFMQM0c1/z4fX6C3yuNxYZk7WtWN2OwFR55zLrCAiLKdyraoXqX6S2ULjHDZFVyRRwqWFyylEqd9GemmBtaOVPTthGkMpEe1msYh7biL+f3zuw96j1sBCcSu0BJw1dToQRE4mfFhqDgrfd2Luw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6n2CfwSZBHMO8/Au/I+BG4gcMtjZgGGhQc8yo6CWpY0=; b=Zsr1gLaDcJRVBOutD1Wy8kpZvf+7WYjv5FUNTe2DWEVIWCld59ahhqzcJ6mIvjulYSAyg3RsgrzglxXK5fZS95KrcXUAbVES6GvfZERYu5ZMO1+ixOnUq5FiI4o3RgUhwP7C84Ioz4OYjjmrRoJR5vP8Zual0NluNxNfjnJR7dk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from AM4PR0802MB2131.eurprd08.prod.outlook.com (2603:10a6:200:5c::22) by DBAPR08MB5608.eurprd08.prod.outlook.com (2603:10a6:10:1a5::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Tue, 12 Jul 2022 13:32:17 +0000 Received: from AM4PR0802MB2131.eurprd08.prod.outlook.com ([fe80::dcaa:905c:ff8:1f5b]) by AM4PR0802MB2131.eurprd08.prod.outlook.com ([fe80::dcaa:905c:ff8:1f5b%9]) with mapi id 15.20.5417.026; Tue, 12 Jul 2022 13:32:17 +0000 From: Michael Riesch To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Michael Riesch Subject: [PATCH 1/3] arm64: dts: rockchip: add vcc_cam regulator to rock-3a Date: Tue, 12 Jul 2022 15:32:02 +0200 Message-Id: <20220712133204.2524942-1-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: VI1PR09CA0076.eurprd09.prod.outlook.com (2603:10a6:802:29::20) To AM4PR0802MB2131.eurprd08.prod.outlook.com (2603:10a6:200:5c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0d62d637-7268-4107-affe-08da640af048 X-MS-TrafficTypeDiagnostic: DBAPR08MB5608:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 35sE7Qyfbp3/Vn60hk01tsQ4BOi4HykQqyZcip/scFT+xpiXIfp9KiwW2DXRz5A4Pjbl2vIS40CVYtrnsfqoYSH0Pob5bG0I7J72MtRBmIqgJ2exxNG0M9gmbUy+rvpZEE3STNggu9q5/dlyDRY+We7FbOC20QzkvcdVHWNISCTYAJk1/pa4qrFOX+BSiA0ISrvigw34NkEMCkdjkcRrfxXEAfCbJZJqdoxyHKgQNu4X0gQ6gvIWuy/vZ2DaQXgNJHjnSxisoA2V0ygKN0WYqmh5lvRCjlqCAFi8WuxDChjew19hgNQJhvElBV7xOaXmIn7BKtidqCxhsUvbS4QrEu2IVI3FGwQcUdn7wSrmrHQnGpbFB8bBjb8jrZquFcqe/F6MRB2BdGPcVGkWOqVob7AQtVewrqd/e0nmyiQm4W/uNU8THsUwTlpY8gv1jPZxHFSOmQuE1kowc2qoCPWcS0iUbZXpGCyYqQEIS93REO70+sG78/qjaUL5SRYyy5jil8nryOnEVDFgb0CH3vEuzb1FuTSv0BIWK5M7aOQPqNlOWCn23+DJqkKiATNaocJgAMBs4v1QvcVeJK64tpkYpAuVP3n28FF8lZcdbdbbbjw53XuQYaJwQGwIwaL7dEmxBPZHW5aXD/wyQuFjDa5lYlWmarrfnaq8syoW4FpAbGnjg+KlPEfPUe8WHdcYGL1zKFSA5XoPcsrD3wDr3Zo8rY/yIWybcmYHWwP5Oy5PRPFofecOV5XZMu8I4XSu529dWvVZYR92WZWQxBLTuoUxMvfUkPzdl4C3vcUK+iCi/nq3n9+mc0fx38tf14EQ+4fX X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM4PR0802MB2131.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39840400004)(376002)(136003)(346002)(366004)(396003)(478600001)(41300700001)(6486002)(66946007)(38100700002)(2906002)(38350700002)(6506007)(52116002)(26005)(66476007)(86362001)(8676002)(4326008)(186003)(66556008)(316002)(107886003)(1076003)(54906003)(2616005)(36756003)(8936002)(5660300002)(6666004)(44832011)(83380400001)(6512007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?lGtZDtcCpNRH/vjrwNune9zPn1ynm4YERvPzmh1wui6IZMaIXsc3qriUpjmD?= =?us-ascii?Q?J3T2gquYn4Pi9BlkdvRV/nDcxcYbck/1eXTZV+xylx3HRS9bipFkC4LqkCQj?= =?us-ascii?Q?DbvwiklWHVCdFsKyU8y853Yh7xaYxAQz+HphaHIoAcRaXIfHivr6tuPgwPl5?= =?us-ascii?Q?oCZ1x2bpLd5hjWb7woDW7qVY8/MjKuj9b5spGH24eW8NJy8gwPy7+C4gtFJI?= =?us-ascii?Q?6jzST0zPplQA2AR0Q6lxX5XlclIVgAMOhGJjioq4sDtvIhpH8TFrVcmnpyLS?= =?us-ascii?Q?HuJ8Rqtnas8XDh+UngEYuKN8LW/Elem/CmKDKslgDOvLyE8WzOQ+Tddn/Pe8?= =?us-ascii?Q?whHm+h/plxZMA5kmgjQoDOwXpoSK7rX6KAUB2KZplmR4vInSljoOgRwlp5Pu?= =?us-ascii?Q?4S9fBsXBxlE90Zf5TYHi+MkFlnWBQ70nsp9VFB6wiCi9u4Ve9r2Em03eGZvR?= =?us-ascii?Q?0n2QhNTteRVAyJRi9n0/xp5gvJiBs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?us-ascii?Q?2LCae85nxEA2L2mj2OQol/9gVcR4waNdcRU+F0G4xN3wkm9foRP/mQnXHnen?= =?us-ascii?Q?O10jK+mZyZbP6uDcrozFft+5o3UYSJl/2B0vyZPyzmJZOjv96Tjc3Y1hwZJh?= =?us-ascii?Q?unirUk7yLKB+Z3oePD3JJQx/3kjoGRyxjjN3IXzSqVmoe5DtnTQoG7jCXSQ7?= =?us-ascii?Q?6GEfdX0RL2QOg+GYJIdTBs/CocvVhnjG4FH0z5cmtyA6WJOnJa/e3dVeMGJo?= =?us-ascii?Q?v9FEOzKNf1zqYU47xs+qaPU=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 0d62d637-7268-4107-affe-08da640af048 X-MS-Exchange-CrossTenant-AuthSource: AM4PR0802MB2131.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 13:32:17.0873 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EvfBZ6uLw4ixF0nEAYp/MpU0nzldzk2uW2NkN0lQiw7RF9oDowYlrRv2C1vpRUk6BeVfRwBxmVbmritQF1YztywXru9LNlpvMCIP0E2ibCQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5608 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Radxa ROCK3 Model A features a voltage regulator that provides a 3V3 supply to the MIPI CSI connector. Add this regulator to the device tree of the board. Signed-off-by: Michael Riesch --- .../boot/dts/rockchip/rk3568-rock-3a.dts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts index da2ef705ce29..821f9b96914b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -131,6 +131,22 @@ vcc5v0_usb_otg: vcc5v0-usb-otg-regulator { regulator-max-microvolt = <5000000>; vin-supply = <&vcc5v0_usb>; }; + + vcc_cam: vcc-cam { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&vcc_cam_en>; + regulator-name = "vcc_cam"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vcc3v3_sys>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; }; &combphy0 { @@ -454,6 +470,12 @@ rgmii_phy1: ethernet-phy@0 { }; &pinctrl { + cam { + vcc_cam_en: vcc_cam_en { + rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + ethernet { eth_phy_rst: eth_phy_rst { rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; -- 2.30.2