Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4383311imw; Tue, 12 Jul 2022 07:06:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s7sYAxd2x/N9NqJm78FoTiNK+gt3lbChf4rNaDQwxXFdsWpfWb1RlAPAqwK0oSMdHuGfVr X-Received: by 2002:a05:6402:5412:b0:435:5997:ccb5 with SMTP id ev18-20020a056402541200b004355997ccb5mr31300917edb.167.1657634770248; Tue, 12 Jul 2022 07:06:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657634770; cv=pass; d=google.com; s=arc-20160816; b=GtNIY1rDWiIduRy2m1rC2vgpwyN5lRQ0wnSf/wvB158AEu8x7fAg1+YKljYFRkJbVh OrBsP+9zq/NlI9MzHuCPjApxRvD+J3EwIzm6EsIGub4QJPr6m4Vbn0l/YWG5y2TBLK5E 6l2dPw77hOpchfUcZr/WaT52I5dE8nh8SapA+Hp2dDkEGk7V6QoE7MxsbKpSMwyMluAe i1M0nenC5N+IeMyx9bZoYbom4Iv/ECZXAWQ1EZ1u+gUjWa63ie3VxU5oXIHlU0ZPT74M E1+67Vd30vCoLYEXYuGt8RnsOl+s4tqKsD4R/I5KxpV6tehf0+kGO0CpcC2QUidJtKHf zkdg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iEFyyf8Bngkw48Q0dhDnxLweiKRmVCSUu2UYuv2NziE=; b=YMsTQvN7IHitV2DI0ic/HColmOK9yulTr4UO8dUotm1mMLoUY5JVWFiOp9623wWqYo EVT8uSaCwCadKL0pTYbsrOXeSp3honCo9qr9AUEm0zd9uYzPBtoP1wtmkMbP0amfDNlp av36ckZYKtoUrSHqVMF7YdqI49Sx0Y15SyrzaUwHigtsNX28d71CDykVHgZgNgXotP5b nkj32DxCRU31m4o0AqjmUNNLvO4Pr/yMW8b2+Hz9hvcKHWerbt6mylWc8OHcQRZPENR9 gpyw1sJTJxBqBH2+O72jQVfBvDc3MON1LcEenOuqdly6b3EMepjLiw4CNPdqvSUs++JT FgYQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=eQkR8Gdy; 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 e5-20020a17090658c500b00722e85dcd94si19615114ejs.375.2022.07.12.07.05.36; Tue, 12 Jul 2022 07:06:10 -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=eQkR8Gdy; 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 S233072AbiGLNc0 (ORCPT + 99 others); Tue, 12 Jul 2022 09:32:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229828AbiGLNcW (ORCPT ); Tue, 12 Jul 2022 09:32:22 -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 35991B5D2E; Tue, 12 Jul 2022 06:32:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QN3+qdHfNY1EwcI9hEoOeMzvv2Lkb5Ly0T6Pctg9oPEcu+xbByYyhYHptt/M7YdH17mss5cVz8WWGPcDMK6+cL031OJGLQ6XTv16jGs8EMmreFH5X06h8zkC/AE3Dln3VfP6uH22XsLl2jAyeDS6hn6U9+q4rPqK/n9Hb3c3k8KyBwHdhzVqqdeTNHCZ/LTMJmrToCY93C1oQY+nt7R9lKqW/oh8Rz0DysqkZw2rH8fpsQC3QbiwRs8PdMV7Xjld7lrLwlrAeshJogM7rHD9wi0lg58X6mgeFhv3prsX8vLqmkSEstgpFw8yss6ITGkut6aJR/n1PF0kRZrCOvRgqQ== 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=iEFyyf8Bngkw48Q0dhDnxLweiKRmVCSUu2UYuv2NziE=; b=IJi3ChltdbiNr0N6YM4eWOaozbsQXAX8lAp6KTZKEHl/QjlZqn/h3v6bW45amDgwkjdekPeO/KLWBjwVPoEwPejOlTm8xFVk/cltRA+gPWEhqIKeu8AFNzhtS5rIs35LgR/TdhvErr4skQCn49h+i/65HG5kBpiWkpkUc7JcK5748Jnx8LF6dxeDpFv32A9UahziA4aX1dJl6J9EqKC6pKL5wqRZFvmMYE++OqZhFBSl5LEebEjsdrD53/Xq/4obY87uSRakpGZn2WX7UxMFWqqOpG3z13LhxbaJYhhmTEUuxkOMypJWczvWaiGjOIRWPRXLFtRlNseVFZW3zMIIfQ== 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=iEFyyf8Bngkw48Q0dhDnxLweiKRmVCSUu2UYuv2NziE=; b=eQkR8GdyAjHm+wfQ8C6nxua7s7KmLT4H1DB8/r8VOqoho7NqIIyQcBk6np/6nS8e+Sm2bSSKrGGPCBT5sABAZu2rZK5xA3DsvlisqghRhwms7A0IUQVSt6ChfNzBqXdYOoPXs1Mm3mWMGYtA2noll0uuoSOvarDBFWsYuLrpyO8= 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:19 +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:19 +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 2/3] arm64: dts: rockchip: add vcc_mipi regulator to rock-3a Date: Tue, 12 Jul 2022 15:32:03 +0200 Message-Id: <20220712133204.2524942-2-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220712133204.2524942-1-michael.riesch@wolfvision.net> References: <20220712133204.2524942-1-michael.riesch@wolfvision.net> 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: cc763ec1-2832-4604-4ef7-08da640af170 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: OwB0BjWVDyLxYH+lMp/ha8cU1bs0jfR1NTQVIMJgDZe5IF35DSbphbbmH+OXLblMsq/7F3vK539BV3/DMw9oG4zOBgjNHv/OSu3kTPArl6TYn0nhHxgPe/BQJwADTZIzkWxxleL+m9BKfnweGWPAaZjOH++efg6NlyD/XAmFmCR99vOpn2lSYB5K9qHP4LQ+hVkdG6uD7HLT7Vqm7MECPMPNMGiVQ05VaT3pMCVRq34ilDHDHJorXhCxquVWK1BsQ9P6y7VOMUs6ugExX0ySFpVWeuzrCWSQPf/HZlxZ6HqhcuyKyRJ23Vi9I0MamvwPDcb6KdvC0KxmkzU5QC4OeBxqaREjfVfOjjk5h1kliW/JRbc0zlC83yESYl3PCdfrxa+FgZ1XKedS4CbG2dw75VMaYsTrfRoufOyS8F6pW/KaJLkLHnJ4V2u67i3g2GKMFt3DXf4Z2YbRHReptNR3i2QHXD/GPYSzeYQx0IhypovxDQTg4k634IFurQYXUc4nqcT3zRqUSLhkoCc1tSTzwIfSeHyv6UoOO5v0XgDfrJbVv9o0bok4IyLtEuwAZnJ081+qgupnjudzuXcUkCSkrX7sG2rBelufb/D6wiBrxabDEPF03u9Lv+UmqN0IHxrbzocVOtmdUBQ1YULxgDSFaCUDfep1d1I+QqRDjU/c9imEIFBNAs35Onljjr36iEml2wJXmjzKlWiGSrONkX95oeXDPthUo7C9FPfFJEgPfOxe0cUwo31SvodUExh/cee5Z0xrTvdE6kA1U4Rs+tOFj6op5+MDQXvMubQcibERkBIy5G2Hd5eO+kdTdqaYfdK+ 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?aIgW5BsiojkNlmYIFsC720zRAmJjf8msbDrCODMekaaYp9pPHxycDrpw3GBj?= =?us-ascii?Q?miQa4mNx7Uf4XVEMwXnmoGrnelqgmu+1ur+cNdyEA2Gbt9W+gtIsf0nym8AC?= =?us-ascii?Q?8z83mVLE8ZrjPRPSSZEiFkdFO8Z+XGVEDMBQCIkwbRvt74if6Uj8/SrkvM1n?= =?us-ascii?Q?u9J0LyWFQ2lT7NQ5PwZUjQPQxY8bOdOisn/1AoVMWavy0SsBAKMQHgMJDKJv?= =?us-ascii?Q?iy5+cRCl+Wn1+J86rfpyCdxdqPjizu5GA9LL5MbvCS3bTjtJ0VkN3+jcgd2n?= =?us-ascii?Q?aQEIsY9pxpZiaw4aN7C7lVhTsGwoi9qDBugu0dtHjrF7v7w9/iVPs7Yew7R4?= =?us-ascii?Q?TEi7BdreZqpblPIziRY3ZlMB/ieMI1h/IKU4u3Hd+1yE4s8vJAuGmMNqQIP9?= =?us-ascii?Q?CDczKN6OCG7cNj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nS8gR22Kg?= =?us-ascii?Q?2RmSO/8nQUYy+5KJNOTPxk6mFDEJ8/4nT2unzUsKRLOZuyfBX1LF2yLJ3cBL?= =?us-ascii?Q?GICFE04h9MKdHqZwabrWjvQyYt5hvPVnela0IAmKsUcAABNEbfL0a5tfWRcu?= =?us-ascii?Q?eF3fOkC5SXMQKSriWkJw8bhLwd6XxgSQuiuX+p6SvYlyzfIhg+LzbqRImSCu?= =?us-ascii?Q?ALkewlCFV8fRaOvYsAy4Jbxov72AfLUawRWnqntdmyM4dyASxF541LRg2EiN?= =?us-ascii?Q?uT9L6aOMzR1vvokXt1M5yFSD9FJiOFEsdgV5ZicMgx3bf36fbC5O0YQtz2bI?= =?us-ascii?Q?Ew=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: cc763ec1-2832-4604-4ef7-08da640af170 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:19.0403 (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: PbimkNot5zYDff+uiRI38L8fd1tTox8cGoOJ3krKMR6S6s1UoyqbgZuD+WzAIQKddyftq8WZLPTCuzZejWW8QESQr8pkcWVC4fwIf+ooUk4= 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 DSI 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 821f9b96914b..33581a36c9c3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -147,6 +147,22 @@ regulator-state-mem { regulator-off-in-suspend; }; }; + + vcc_mipi: vcc-mipi { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&vcc_mipi_en>; + regulator-name = "vcc_mipi"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vcc3v3_sys>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; }; &combphy0 { @@ -476,6 +492,12 @@ vcc_cam_en: vcc_cam_en { }; }; + display { + vcc_mipi_en: vcc_mipi_en { + rockchip,pins = <3 RK_PC0 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