From patchwork Wed Aug 4 13:06:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12418715 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4384CC4338F for ; Wed, 4 Aug 2021 13:09:46 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 108DE60F35 for ; Wed, 4 Aug 2021 13:09:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 108DE60F35 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=wolfvision.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=OaWuPcI3KMFjgGgATQZDL2HChMkLutxLFZVIq5iJL5o=; b=E34VcTjvKVL1E5 W8KiJZA1EL9aL4c3ZKv2iGbX9kEPQ469O7D+zv9p/vOSE3yfJY/hiFnfV4OviLF8U34PTV3c3K/cl 4xJvG9qd9X8CBFb+Ci3yQ9p7dJGcCQF5yrTYeUhUfjCZnKdCgVAaPAlClcxuwvXYsGE1tVJAJfmjk Oic1D1rwxJP3a7O4D3j99Q+pJ4VG5eujIXyYX6MPG0deYmxmknHqG8sUPxNhzL8BEpY17hLxy25Bm f20MjjV3c/9XT2SvSOXAv1sQMMVi90buXSHvDfgctb8vT9EQOcWNEg080YGCEwhS9Vw5rU2R5DCXc HGY2gu8CQKG3c2Lw80sA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGc1-006578-Df; Wed, 04 Aug 2021 13:07:09 +0000 Received: from mail-am6eur05on2083.outbound.protection.outlook.com ([40.107.22.83] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGbf-0064ze-4p; Wed, 04 Aug 2021 13:06:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tj3TLTk+A+khWyc8qts9NfwXx62oOyFkvhv1Ckqavwe2Jgg0D8jLKX/Z13zY7Dzy+JaCl7wfeTqVRcUHKHtjFd621LVepOZSQjwPXOb/bZRpO1n1pdJvzRCbYS5QgiY/NtR7gf3PSjNAqSryDgpql3ysZlN6TkddR938Vt/CuSQANlsTGp8N191LnD+GgBaSt2KkKU4XVozn9I82FwXbOGDFmE9JnIashPnYFWpBYBFY0kMoFzfKdIJUlYgAzE4orWfX/XmESvhji/WaK/o3zpL6NoyOCih4hKvDPkGYbI1OhjvkPPGaSnbE1UL4P1hXhwQ3QbMmyf5hcvs3WFQIqg== 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-SenderADCheck; bh=T3SrhTEWB6RsTJABTHRL98bEpe62oMj/f0PP0YasWqo=; b=Ah2cGhuf6GZEnKqLRILXvMYqBfM0+yllLiyz0zuGdOOVDyVE3ioFPgVsz7PiW7fS0oR6UPNYBr3TNTV9tMQw4KQ2dST1QImUqaWHwwuzXhHPQ1BMEYl+Sf89X/zeZq6W/P9NStMwBzcQm1i17/Pyvp2xgXXWVdsVXh3TrAi5xkoKImKo7A40yNMnP1tPqgVF49e+fFm305mS14MaIgQ5H8uNa4r5zOWW7taVW0Clz3jhyATEHjh0KNMldMtM+ZZXuAOPwOquajSFdQT64tYiuxlS4ugAotP3E83G24nzz1lT7U7XXkOCViW626sqRiZvZLeMxAnDdr7ZFDWXPDV++w== 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=T3SrhTEWB6RsTJABTHRL98bEpe62oMj/f0PP0YasWqo=; b=KYpkK7parughIT1xcpWiA9Zl0jGykxQe2EahZVj0P7rPXGfiznImbJsOaFFdvwjtQESGqVuYOPnQsIXdRjFwOkbHf3idgHvfMqjqOm7ydAPixpZFnEWptXhW0VDGOI/Nu6WmAtr7PuWyi3XpnXpx9ZIgRXYIoAwnEweyRLMJZuQ= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=wolfvision.net; Received: from DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) by DB8PR08MB5401.eurprd08.prod.outlook.com (2603:10a6:10:f9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Wed, 4 Aug 2021 13:06:44 +0000 Received: from DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b]) by DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b%7]) with mapi id 15.20.4394.016; Wed, 4 Aug 2021 13:06:44 +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 , Heiko Stuebner , Liang Chen , Peter Geis , Sascha Hauer , Michael Riesch , Simon Xue , Jianqun Xu , "Rafael J . Wysocki" , Lee Jones , Ulf Hansson , Zhang Changzhong , Johan Jonker Subject: [PATCH v2 1/7] soc: rockchip: io-domain: add rk3568 support Date: Wed, 4 Aug 2021 15:06:19 +0200 Message-Id: <20210804130625.15449-2-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210804130625.15449-1-michael.riesch@wolfvision.net> References: <20210804130625.15449-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: AM4PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:200:89::22) To DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from carlos.wolfvision-at.intra (91.118.163.37) by AM4PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:200:89::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Wed, 4 Aug 2021 13:06:43 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f26376e5-0020-46fe-1113-08d95748b57f X-MS-TrafficTypeDiagnostic: DB8PR08MB5401: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uspHaZluyfk2F4BJgrs3rHWtgBSL5qis+au49pRRqSMcXZZ4ZBt/PvMfJ0ogPXMQa1Pj6T3dkLV2Y4qgT5BWfUe0BXe9kkgT3B8XlAV4OA3dyGObqrLrzm5Z59YwDb2/ScST8iJqac8WSlxcTnO2PSwoDNiuhoSP+4LIclC9LR1BOEb7DLbEZG6OBiDj+LW/WNrUyK/uoJXStL0nsEagPXs2N7PN0tp5LjjwnFXybEYzRaeZIxB5g/BXZM0lCeY27uuATRKnS4C4Hy0IRVenTPVpVFX+wXs9y+WmWfffD1vLV7GpnU0rzkneIVvcXWokxn5rIYNx0GrQT1+Q3jcDHs8p55hxUb+ePOyy00Bh4HV1QmAfJbCRy8cLe7ZeBut1mc+lHitMg3AB27PuZeGeLrMFGlm3kCkw1gwYzTzzldR6WPIddDq47UQlV1Zm4De1FlVxVg7I6qIBJ2owH4G0UVXuxbsbcfjN8QiNjDOlWwXVfNOzFkgDufg462b+uyVmIPaqIUJHScZiYjckPboniKQPO5q5lIbQqEOOT1NlK7emxlEeA07UxGqjszeUby1qJO65OF9eJT/xHLY+Jf6x7ggdodJkMhF92IvHoi1NyF6rhfbuJM+Qys21NAmnxueNjI7lNSeYlkvpaDA3kt5CQM2l+wStnCsTCQ/OvBM4hnmfWAgDXzVUabYOjyrmkj1WLGaGZTEWKiMxSZIu4uqtUA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB4523.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(39840400004)(396003)(366004)(346002)(136003)(8676002)(186003)(956004)(1076003)(7416002)(478600001)(2616005)(2906002)(66556008)(8936002)(66476007)(66946007)(52116002)(6666004)(83380400001)(54906003)(36756003)(38350700002)(5660300002)(44832011)(316002)(6512007)(38100700002)(26005)(86362001)(6486002)(4326008)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 1U984eUh/OXHDJSNFO4JlVHIDL3VdjElmXpOUNqz3SEUPIo8VdEI14xyTJO+xU0FgZyC+VqgsUMRvCpYxZF32AIWYHdxpO/4Jm1lafDSl7ToCuVmf+I0jdLNb819ZAz8k8yi5/TCYef3LN963EZ1J3X4Dt0BPOUAZuHSq132ZHCvHAawll4DlmmT1ySC5D/sP++qx/KrflVDOpzHeUSYSlbhcHxq9C+Bbp7UluHePjHY/nQ7C/UXm28ChTXLDvOpv4NEWPq+LmF+JlF3f+HN8OKYfAE6x9eEeiGXOJiXcIswr+/AxCEyZC8XdqEz8oT+PzhGmtvqvyDSFGNSRpceubapNPSAwuO81uN/EA96anNCfH37GlMz8sF+hKq5S4/jPNFP2XRTQb0JcSFv1CWd4Lc9A1MHLvENIIcA/Ew6AVYnLAbMWn7gA0BQsH0NTPufT4NgkDF5JGkbTklv72fwD+608j/JC3U2zx7ptwhqPWz7vCLeZmm76P2cVtnO+OhINqPZ6W17GkM/3jWTCwqGPqXPKvWnVbXQHukzLILWkmGIyExfugeCgwf20XgrV1+6U+9JapTejPrSNGkONiaFl+HfL2kN4US56Yq40Xy25EcTncNS60tJA2uZvGz2AFsnBpKwBZjZErFwfE6TuaJNiKDqEV5Ar5H7IqBdyZnPXCaeXl8zw1xa4SPT+znxZ9f90ECkKlrNZZ37tDd0QpNRHOfNglNdrPSHFiMKhsGjXYgUzUKkbqsW7Sg444J7z0BUM8tMOyELeJY/u85LS0g/Tft32barRLvUUr+ZaoO6fQlDgqOLXm/wVQkrBOhgxKHZL3CGDWaEaDsAEmpNLK4acYv0GjViAT7jpUXdfC/0e8Ji3QZQu/KiZiAlFVbsGDlJa9vFvbkRVsGav3e3z3s2a7wR3Ag9FPSfyQ8I6OjvuzBLJUDrfKfsjp+yDGsZvyL7lfYd7qoqoo4KQtma+M2J/K7zVKAziXiQn9vznrNfXKoImqd5ApBOZ3TXVcgNQ7dZt+WpiIWp+H41HYz3aYjJT3apZ1dkT5Q6cAWHCG3l4Tb/Fd8cHL7mFf/+LHCdGYiVXkFkcHeaQZDNiTaRoYc2whGdDOR5Nhmj33hiznP7/PA6J8yrbzKqE+hytEv6MKILKj9KA6QucuWMu3oB3QAGFXrOUPeO0f14FZ/enuLVVysaSf05nu8ewI0z+JY7w2XNLv5xsEAMavOTfKOIn8VEZhmM2N5jxP8XZ3t26eV5wYnukyAcutpFZ4pDbZBqJzsGS38GoguUxKOsbEpaqZDkmSYj02cWZShcyoOveAZi98oRiw7GkZAYCitNwkpbOg97 X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: f26376e5-0020-46fe-1113-08d95748b57f X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB4523.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2021 13:06:44.4910 (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: P1auCVnimmzs6JGPXuFkP0IQCIY5FGnINEThmLBhAm+ckdgUlw/O07mRQux/+8aBgCbxGKCYwSk0L6esr1mvbIgG/Bxj/+/yHMtVZ1fsnu8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5401 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210804_060647_270598_8F6EF582 X-CRM114-Status: GOOD ( 20.80 ) 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 From: Jianqun Xu The io-domain registers on RK3568 SoCs have three separated bits to enable/disable the 1.8v/2.5v/3.3v power. This patch make the write to be a operation, allow rk3568 uses a private register set function. Since the 2.5v is not used on RK3568, so the driver only set 1.8v [enable] + 3.3v [disable] for 1.8v mode 1.8v [disable] + 3.3v [enable] for 3.3v mode There is not register order requirement which has been cleared by our IC team. Signed-off-by: Jianqun Xu --- drivers/soc/rockchip/io-domain.c | 88 +++++++++++++++++++++++++++++--- 1 file changed, 80 insertions(+), 8 deletions(-) diff --git a/drivers/soc/rockchip/io-domain.c b/drivers/soc/rockchip/io-domain.c index cf8182fc3642..13c446fd33a9 100644 --- a/drivers/soc/rockchip/io-domain.c +++ b/drivers/soc/rockchip/io-domain.c @@ -51,13 +51,11 @@ #define RK3399_PMUGRF_CON0_VSEL BIT(8) #define RK3399_PMUGRF_VSEL_SUPPLY_NUM 9 -struct rockchip_iodomain; +#define RK3568_PMU_GRF_IO_VSEL0 (0x0140) +#define RK3568_PMU_GRF_IO_VSEL1 (0x0144) +#define RK3568_PMU_GRF_IO_VSEL2 (0x0148) -struct rockchip_iodomain_soc_data { - int grf_offset; - const char *supply_names[MAX_SUPPLIES]; - void (*init)(struct rockchip_iodomain *iod); -}; +struct rockchip_iodomain; struct rockchip_iodomain_supply { struct rockchip_iodomain *iod; @@ -66,13 +64,62 @@ struct rockchip_iodomain_supply { int idx; }; +struct rockchip_iodomain_soc_data { + int grf_offset; + const char *supply_names[MAX_SUPPLIES]; + void (*init)(struct rockchip_iodomain *iod); + int (*write)(struct rockchip_iodomain_supply *supply, int uV); +}; + struct rockchip_iodomain { struct device *dev; struct regmap *grf; const struct rockchip_iodomain_soc_data *soc_data; struct rockchip_iodomain_supply supplies[MAX_SUPPLIES]; + int (*write)(struct rockchip_iodomain_supply *supply, int uV); }; +static int rk3568_iodomain_write(struct rockchip_iodomain_supply *supply, int uV) +{ + struct rockchip_iodomain *iod = supply->iod; + u32 is_3v3 = uV > MAX_VOLTAGE_1_8; + u32 val0, val1; + int b; + + switch (supply->idx) { + case 0: /* pmuio1 */ + break; + case 1: /* pmuio2 */ + b = supply->idx; + val0 = BIT(16 + b) | (is_3v3 ? 0 : BIT(b)); + b = supply->idx + 4; + val1 = BIT(16 + b) | (is_3v3 ? BIT(b) : 0); + + regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL2, val0); + regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL2, val1); + break; + case 3: /* vccio2 */ + break; + case 2: /* vccio1 */ + case 4: /* vccio3 */ + case 5: /* vccio4 */ + case 6: /* vccio5 */ + case 7: /* vccio6 */ + case 8: /* vccio7 */ + b = supply->idx - 1; + val0 = BIT(16 + b) | (is_3v3 ? 0 : BIT(b)); + val1 = BIT(16 + b) | (is_3v3 ? BIT(b) : 0); + + regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL0, val0); + regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL1, val1); + break; + default: + return -EINVAL; + }; + + return 0; +} + static int rockchip_iodomain_write(struct rockchip_iodomain_supply *supply, int uV) { @@ -136,7 +183,7 @@ static int rockchip_iodomain_notify(struct notifier_block *nb, return NOTIFY_BAD; } - ret = rockchip_iodomain_write(supply, uV); + ret = supply->iod->write(supply, uV); if (ret && event == REGULATOR_EVENT_PRE_VOLTAGE_CHANGE) return NOTIFY_BAD; @@ -398,6 +445,22 @@ static const struct rockchip_iodomain_soc_data soc_data_rk3399_pmu = { .init = rk3399_pmu_iodomain_init, }; +static const struct rockchip_iodomain_soc_data soc_data_rk3568_pmu = { + .grf_offset = 0x140, + .supply_names = { + "pmuio1", + "pmuio2", + "vccio1", + "vccio2", + "vccio3", + "vccio4", + "vccio5", + "vccio6", + "vccio7", + }, + .write = rk3568_iodomain_write, +}; + static const struct rockchip_iodomain_soc_data soc_data_rv1108 = { .grf_offset = 0x404, .supply_names = { @@ -469,6 +532,10 @@ static const struct of_device_id rockchip_iodomain_match[] = { .compatible = "rockchip,rk3399-pmu-io-voltage-domain", .data = &soc_data_rk3399_pmu }, + { + .compatible = "rockchip,rk3568-pmu-io-voltage-domain", + .data = &soc_data_rk3568_pmu + }, { .compatible = "rockchip,rv1108-io-voltage-domain", .data = &soc_data_rv1108 @@ -502,6 +569,11 @@ static int rockchip_iodomain_probe(struct platform_device *pdev) match = of_match_node(rockchip_iodomain_match, np); iod->soc_data = match->data; + if (iod->soc_data->write) + iod->write = iod->soc_data->write; + else + iod->write = rockchip_iodomain_write; + parent = pdev->dev.parent; if (parent && parent->of_node) { iod->grf = syscon_node_to_regmap(parent->of_node); @@ -562,7 +634,7 @@ static int rockchip_iodomain_probe(struct platform_device *pdev) supply->reg = reg; supply->nb.notifier_call = rockchip_iodomain_notify; - ret = rockchip_iodomain_write(supply, uV); + ret = iod->write(supply, uV); if (ret) { supply->reg = NULL; goto unreg_notify; From patchwork Wed Aug 4 13:06:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12418717 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1995BC4338F for ; Wed, 4 Aug 2021 13:10:11 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id DA1BE60F43 for ; Wed, 4 Aug 2021 13:10:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DA1BE60F43 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=wolfvision.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=kmbo4jWigaUGogFePg596TAysS7EcKW8WFd3MVEYEcM=; b=JN4H87eAKZYek3 Xg3ZbXAqdij6GqeSf41V63tHblAET0UY0G/cSrJYQHrNJmeYbsjC7VwkQ7UXR5nYGcfMk7imbT4Up 4TlVG0pFtVWz9dSG43npRy03NlGR7YnIhRf+IaMGrTvoYpSzVJ1uuYTg8MAxk48c5nwuseOZcTWLT yHW3HyhBUDJwdhuY4fQqHzxeoXmqneFH5MhcY2mJfAPRmEQLqpjWvViPlWICR1YUCYq+Y7j07Qyy8 aP146tnKugy5kOWLeYh6DCJxDLI6SRIRwp2NPAEauPBFimVjvMtguQVIMNlzRgh/E+UQLhvgO1tta GtWQ8+Ho4U3cCilcSWPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGcE-0065BQ-LN; Wed, 04 Aug 2021 13:07:23 +0000 Received: from mail-am6eur05on2083.outbound.protection.outlook.com ([40.107.22.83] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGbh-0064ze-WD; Wed, 04 Aug 2021 13:06:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a48/B7rOP1eQ7257DieMci48G+SXtMPJ4MY8bv+3DhdjYx0XjXMPB5hSPk/yoORVarkdc/tqN1m74WoQU2WAMQMVGDoPqKzZhY7Aj2X9BR4qcymbNMmC/9QyZGFkq2kC3JS1ZMTeibKIo4YmVdtpVS+6qpTX3cjKGGblu3PeHc13vqBz70h+7iu/AUtvjIPqMkwuh1ZsWaE0aLr2MEOQyLVORxy+S5CeVDhPJdfBPeZKFxLrzAnLNBMJ+dBdSSsPpBb15/TS7RlectKVXduHPwVj74Mz0nG3EkN/njiB6o9d7/Vp2eWscmdFZDpITSjI0Dw0EolEVlmsn2tIhhH89A== 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-SenderADCheck; bh=3JZz6VP1fa1Gh4q5q20IwXBukyrHC7fCz5zLWLuec84=; b=TNAWWAEDHaRmFYc9Pf15pxJhFhTU3xu7d1XMVId9RFSkBaBMdjuLNb3MutxxrMRSvVHFySrAYNleowYndCyWoMHtUGLkpjqjU4V/AB4K3vKWf77KLhogI04NANS1JFy/U5a31q51C2L0e/LvSYA4v4ndPOT8eAsQ5p+e53ePORLYnL5LwkGCbdYHYpzjLlgmvnWp7nwINNLXgRI0Wzylf8dRhQfwVSfEwYl4YGSLT/WZdgNxr28QXzb85w3wl25Rv0SRXHmqD7E0UVo00UkxkwoFso0xnSHS56GX2sA31nbFJTblM8bN4qFHOVkU+toAC7JprNqIePkWbe7ihyGgsw== 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=3JZz6VP1fa1Gh4q5q20IwXBukyrHC7fCz5zLWLuec84=; b=AtxqSmucG78fOBCiSAx4UuN2iv24R0SK3WYY5k1OZDCx8llSuLdRWYrYkMNRbXo3+Y3rH5EcYcZD8nXkhdi2kT1JpAD0K7c/Nv6YOx3Wl/erJhmXDAt/1ItMUQSHAAZHorCgkprf/IZmSucCsSkIOzYZmOOEjxaeeGoq4pHi7hA= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=wolfvision.net; Received: from DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) by DB8PR08MB5401.eurprd08.prod.outlook.com (2603:10a6:10:f9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Wed, 4 Aug 2021 13:06:47 +0000 Received: from DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b]) by DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b%7]) with mapi id 15.20.4394.016; Wed, 4 Aug 2021 13:06:47 +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 , Heiko Stuebner , Liang Chen , Peter Geis , Sascha Hauer , Michael Riesch , Simon Xue , Jianqun Xu , "Rafael J . Wysocki" , Lee Jones , Ulf Hansson , Zhang Changzhong , Johan Jonker Subject: [PATCH v2 2/7] dt-bindings: power: add rk3568-pmu-io-domain support Date: Wed, 4 Aug 2021 15:06:20 +0200 Message-Id: <20210804130625.15449-3-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210804130625.15449-1-michael.riesch@wolfvision.net> References: <20210804130625.15449-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: AM4PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:200:89::22) To DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from carlos.wolfvision-at.intra (91.118.163.37) by AM4PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:200:89::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Wed, 4 Aug 2021 13:06:45 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 59def6eb-1c18-4a84-55fc-08d95748b6fa X-MS-TrafficTypeDiagnostic: DB8PR08MB5401: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:628; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: r4W17b7aJ+A0cv/x3SZA3iQVJ+6sxdNz3MAGSITVQ+JJXOlsbq4s+0j3YbilHuoqipgZK/d5HeJwOb+qvi6H2dP7eiubvrtdc3Emz2OBO6zgsM7aneMbpmyXZ4b31chMSWh+/55bSxXZwmHoYzOtaqofc2pavqsPZRtddJs2z9y5+VyHExyxqiFTjMYbwJoqsimAPUEKSSy0w/BpBIqdOKivQSM60HmSBMH9sDUOGeGvf5mvTr2d63Ns+W1DgZJHVJaDqNcuvHUTt7ns2vLx4EGIiIig3rP0QBICOZpOFO6KQ2xJWx22QMjjUAuot+HmKi/C3i3Hqpp61t3FK5V4d5gpmBA23fz2sNxmif0eDWHdBlCGXI7qDzsRh2KIpJiaGx7YzrN61hyT7YLkOZZFH5NICBDGwLkqhnauPcJnhg0k+nHUEWwldOC1tYmp6ekrhjJv6eLLDtqhBF6kN5K9eOId+zLMsvKL6ANLFasmNlMojcrC8dRP/mujvrB2kFLGyyiVl6eYRKY1xi76Ar2/kQyKyvO1l8oN3DO5qYzuy26D2nDbBccnggE6czFGikVsu7NzobitTQ5mC1+03fTmMEOaY0oYFgbDXHGcjGDb7gjHVh8goppf8qcaVZ6Fl9Msgg/ER66PUQ9lNvYgqSsqsF+Z6ZV0nQjmrSHfETOJTsyT2AOHD2JFnky1KD0X7bRzRfrN5nUdJvNc61KIycuyrQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB4523.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(39840400004)(396003)(366004)(346002)(136003)(8676002)(186003)(956004)(1076003)(7416002)(478600001)(2616005)(2906002)(66556008)(8936002)(66476007)(66946007)(52116002)(6666004)(54906003)(36756003)(38350700002)(5660300002)(44832011)(316002)(6512007)(38100700002)(26005)(86362001)(6486002)(4326008)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YD3H/jayvmY9/bW+ub3wOPhJunrSdx49ox+Sb+JzcoxHHH/Dh8TA6Fx3ANzvVy1+ZDn1cHZSrn4/4LHGuuEjLVzw2h3bjkbbOLzUy+wyUsDQhUa0xJAFmlm3RFkXPfrphB7iNYLKzhSnFfMyZH1FBeoKR5VrB7pkRq0vuyzXKH/ml96NruEdisV5MLb3Bh8IHYjK8cXZ6TQaDBqaD0z3y7Yi/RU2YMKKQTI6MAvPIRBgquFKw+nuWRxESuiLr2lKPwd7/kuc9cuFtKshLiVGUaWF7418ib6VGQrUV0SKX3yvxEfIMVVkNMmlUdvO800M21let+AAaPKToUkLE8bAMeOX9gnG7n94CNQh2WtrH7PqCHwU08K6/ezdxNSzRVmLWdE+tuh7tk2J9CIqkkeL9ekDtv/Brit18MnXjIv3Iy5A89X2SPVwhQGdgzD4wdEYRPvb6zQ1UZUXmUdHLqsy4i7y4OyalrMmmSZbKM9Z8iMzC5zCh+RlNwT8mrG6p0HmdB24VGxOOrXxY78/ke/30S6MJMH3IkcadaAISYELYZt01J4Y2869ss3HtmrXd1yDAOTT8EVb/HBOAdoWcePoHKlUGrvcnupdCS97uuYVHdBctF4Qn9VvQF/+WCdBMZasgxjmc+h7s02KIidq8IfGzJ/CG8HS6C6uYoWd5PqqLJH4PnQ0RCNl/XRI6iOdsvBkbCn17KM2rCfxaSs2Oxu+F8rRG1cGed5dSTnQ8V/QUyIso2i851ldpdq0JJKIfIzfO9Yew18jjOBZvPMCmJ/a8hKCyEqNW+5t5LvLag4yI/0tkkPyFJoG/3zw5OLq5XnI5SeXFXft3oFK/0KHR51fCBk5MplDeGItd23I1uI6r/9GqLQXSxTiRX6hEv1yQMjA1N2oTMYREfNaHvLUrdwINrjWYm0avlI+V8i9Qgdh/vTNleD5iaBJRuCQvRvTT7u2m4W9L/7FTp6ESSzfCZB7GmSzulqsP4n5tq3YEMebulGiI1sDbOeZDGhXy+TVrES8wo5B8PSf0tCL3Gc2BsmhiA0EIc1bpoTYGs5ZrW7UvPAYXlw9+4u2MxdG6SX2emXgZxwMVajteL04/NttBTGEzr9vJgJuNvn9JDsplV1RY/1iv3LXQXLA97YovJ6soCDoMzEPtYDznCyU5iSmVLdBD9ijtuPoEB/Zg6WEngKtk2hu6jkiQmRUaVNBHABm8BvUn2jvRsi+yheHP05NpaGEuxFw/jCd5p8ztIpXeLQCNq8dtw4VEJMQ2jmNl1xcUiV313QuGFLVeoVLMzckzVaxVt/aoniPf1aBMM6cn1JhPIOBqJv7h+P47asgjLkkrGI1 X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 59def6eb-1c18-4a84-55fc-08d95748b6fa X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB4523.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2021 13:06:46.9986 (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: NMIReT1LOLyd6qOCvOXJXdXUQAectJhV/hB97yOCoLOABPCnySFB2dt+LsA6siEGQvqnh0nTW56BedpY6v+MRlMwCko71jYhJgbBipbrEkY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5401 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210804_060650_084092_9B7A0EA1 X-CRM114-Status: UNSURE ( 9.50 ) X-CRM114-Notice: Please train this message. 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 Signed-off-by: Jianqun Xu [add soc-specific section] Signed-off-by: Michael Riesch --- .../bindings/power/rockchip-io-domain.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/Documentation/devicetree/bindings/power/rockchip-io-domain.yaml b/Documentation/devicetree/bindings/power/rockchip-io-domain.yaml index 121bec56b2b0..1727bf108979 100644 --- a/Documentation/devicetree/bindings/power/rockchip-io-domain.yaml +++ b/Documentation/devicetree/bindings/power/rockchip-io-domain.yaml @@ -55,6 +55,7 @@ properties: - rockchip,rk3368-pmu-io-voltage-domain - rockchip,rk3399-io-voltage-domain - rockchip,rk3399-pmu-io-voltage-domain + - rockchip,rk3568-pmu-io-voltage-domain - rockchip,rv1108-io-voltage-domain - rockchip,rv1108-pmu-io-voltage-domain @@ -74,6 +75,7 @@ allOf: - $ref: "#/$defs/rk3368-pmu" - $ref: "#/$defs/rk3399" - $ref: "#/$defs/rk3399-pmu" + - $ref: "#/$defs/rk3568-pmu" - $ref: "#/$defs/rv1108" - $ref: "#/$defs/rv1108-pmu" @@ -282,6 +284,34 @@ $defs: pmu1830-supply: description: The supply connected to PMUIO2_VDD. + rk3568-pmu: + if: + properties: + compatible: + contains: + const: rockchip,rk3568-pmu-io-voltage-domain + + then: + properties: + pmuio1-supply: + description: The supply connected to PMUIO1. + pmuio2-supply: + description: The supply connected to PMUIO2. + vccio1-supply: + description: The supply connected to VCCIO1. + vccio2-supply: + description: The supply connected to VCCIO2. + vccio3-supply: + description: The supply connected to VCCIO3. + vccio4-supply: + description: The supply connected to VCCIO4. + vccio5-supply: + description: The supply connected to VCCIO5. + vccio6-supply: + description: The supply connected to VCCIO6. + vccio7-supply: + description: The supply connected to VCCIO7. + rv1108: if: properties: From patchwork Wed Aug 4 13:06:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12418719 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4901C4338F for ; Wed, 4 Aug 2021 13:10:19 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 83DFE60F35 for ; Wed, 4 Aug 2021 13:10:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 83DFE60F35 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=wolfvision.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=hJ6vApZHo90NvG9dtoCkFWGuEK3oDR4gfi87kcR1bDg=; b=Zqb3xGZ28NzwYX V5Xc1XYS1dsc867gYE2t1ZzE1c9IVA8lq9J+5Y/lLdxndKYXzEz+Y+mAzMpzZybgG2OSjPnPd3M/e VtzbN/ERplFO/tNepLzQNNKUjnfVPHu5tcbajSwcqhEdVQDmLXQPZhYw8ISlqCa3mW6F8nU1sHlu5 v/3UaUWVG8UnS2CAuXY6VoanQZTZItx1tkvkizviRqr3bqhrsmYA4d3XDNzGWmRlmW14R2QGczjlf n847shQCNH9Lr+IEWGa9ThntP3lodgMEoXBcFV/e42ZXTwrqKy8KocJOH9FF8gug0kG9hl008o2xi gUBNcUvMkXsXwkFChcRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGcT-0065Gg-P9; Wed, 04 Aug 2021 13:07:38 +0000 Received: from mail-am6eur05on2083.outbound.protection.outlook.com ([40.107.22.83] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGbl-0064ze-0Q; Wed, 04 Aug 2021 13:06:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KBFVfQZfIXKe5H5JtMal6LoA7muWDLFyE7SGfsguH134SsKOc9i909a/cF9/8hsUNL+esdCPeARZ0L52r+q0cFC3arx+qcuQ2q/Yeav8X3ZTqeaFG1SZtk8KJDF+Xr8gXDasggUTIhySE6U5ajlxZ4GYtuGbSavi9dbiNCXHFc1l2JeT+8CaKvxNvEt5azXL9jrP1iOKT2QCDEfCCglHZAmPR2jfB0CWiz/JkO5n7YkpsQXs8YZxxt1BRR9PVcv1oSgrxyalOOVL25FafZ4tKL+AQ+Yi0LYf8asmgIPEoULsfyV6mpmavBIm4hrzjSf6gHwQIcQzztHRs4Efe3wZOw== 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-SenderADCheck; bh=Qgg4iqthx3UQHCwze6kFKISQ5mPVirG4LIbMrbFlmRI=; b=Tv0fzEBduS/8wekbMUonPRrQvcHyo8TtdbvNTKXxxVrAgvsjQThetXYS5gauYl5ElTDuma4yIj08EERP4z5HC28jsomjVTjiPX9RSmTvu+0yQjM85p6AZeoL/ilVoRHnhNWFIYj+AAH6ZftsS7rp6D/9dYS8127cLUBAoqZkEMnsG+SyHjYiwqQVOmHlSxw6HSkGPFbiourXaBerYEcQr1sbm/OUHu0BGcgkzCohtgh2aFcXPQJAIxKugeA0NaW92zZzryGMK9DJMH4knuTz+KXBId/EvYNaSHl7CKY5GaTagKH/CZX4zGnPhz++oyf2MJ7uPyVUyHa2Rne0T7GJ5g== 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=Qgg4iqthx3UQHCwze6kFKISQ5mPVirG4LIbMrbFlmRI=; b=n8/C+6fx5+MIA9PlomDgNZbpNDWvcoZ0A5xAPM0rGw7oSnZUEejSfYVthtUYk8xPfGL6H5ssAk/7E0uXA7PXkS2JxdTzvHS8LhVt9yRSE3lBzlzmTY2J5iMhgqrGzU9g7zS3PK42+UF8vad0xpgF6uhk7D1IcxPxf7DmN0BP2Uk= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=wolfvision.net; Received: from DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) by DB8PR08MB5401.eurprd08.prod.outlook.com (2603:10a6:10:f9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Wed, 4 Aug 2021 13:06:50 +0000 Received: from DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b]) by DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b%7]) with mapi id 15.20.4394.016; Wed, 4 Aug 2021 13:06:50 +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 , Heiko Stuebner , Liang Chen , Peter Geis , Sascha Hauer , Michael Riesch , Simon Xue , Jianqun Xu , "Rafael J . Wysocki" , Lee Jones , Ulf Hansson , Zhang Changzhong , Johan Jonker Subject: [PATCH v2 3/7] arm64: dts: rockchip: rk3568-evb1-v10: add regulators of rk809 pmic Date: Wed, 4 Aug 2021 15:06:21 +0200 Message-Id: <20210804130625.15449-4-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210804130625.15449-1-michael.riesch@wolfvision.net> References: <20210804130625.15449-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: AM4PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:200:89::22) To DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from carlos.wolfvision-at.intra (91.118.163.37) by AM4PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:200:89::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Wed, 4 Aug 2021 13:06:48 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 84a5c77f-00f9-41c0-32a3-08d95748b8b5 X-MS-TrafficTypeDiagnostic: DB8PR08MB5401: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1169; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QxtVfeFswklP8PRC08wCVfgOW6A+AF4E95LZMz6Eg/DOXHUDrOPNS+jqM1wd4KdJ5OS6dwExyNgJfCk+iPbt4BDR8fi4bfk3P74XXd7+Y0mBx52cy9YSM/NeDjWxYQvEUym+1sYIZeFAI1As/07BrMW+YK2MLEJ4hfGBe1pCU0dhUpfdQDg0Jxn7s8HF3ZGLxuY2MeONOxEwDuj+RgR8CMZwr7vhluHy1220Csq69P/vzdHbHKGH5xaXVa//ooO2obLygdeVHnUtHW3LrFrw2DIiirfSe8ZXGZNBZqTF5bZYFtoCrSNUPRoRFa4Eoe23Lzb1oEz6NP0tr6tGDoA07hiWzy9O1k7SSw3wTl39KnX5kaeXFEyffG4Ik9IZyzXaj2Ph6NctUSHsFqIEktIBw76r2B0jBNNceFDH1XgHVQ3ubZWhr/Pm6eJmlnm2yFJBzDImRcHNJnKOm/0kFwfCTmuFeaZY8FmhDX6guDmRYVywEdeLe+R2GVdXdlyzNdH55SXJZqQiVwrtK3IobNcece8zZkrymegzZwKaNQ62TVpiMp1wLshc65xHycT6RMOH1YZwERaX8gTNZ5Pm4twioqlREa8SMjr3OgeYb0SI9KNH8ND1A+NLjhJZqQexmWqWLh8TAZq1nnuxBxV0ful81oKZ4kf6Fxd3GjitC6KT6esQ8+NXEtJ/5Hl/M11S4Q6+pwuE1g6UrCmDB1avgJ/4XA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB4523.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(39840400004)(396003)(366004)(346002)(136003)(8676002)(186003)(956004)(1076003)(7416002)(478600001)(2616005)(2906002)(66556008)(8936002)(66476007)(66946007)(52116002)(6666004)(83380400001)(54906003)(36756003)(38350700002)(5660300002)(44832011)(316002)(6512007)(38100700002)(26005)(86362001)(6486002)(4326008)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: z0WjAyxxtpOziug/geh8GqvF8Yv2s2/4TsSpa8fCK4FHal9BQH61vx3Zup+Kpb8mpq1t21IXAOH9MwuK5ipFEF8fTlJw1Q+3Dij4igI+ZMZQO3XIudivkXY/FhhhMFzC3ftEmLnRK7dUk5T6vaepITXT6IuEQvC7zOLwgRQBYX9QyupC8ammWIJfX9N8V1A0HL2Ycy6MG2Tbzhn/xG+kxZNCMsdOYnNNCKgFB5tEIANS1xDDj4/sHas3uqbo6RHDX49KZHza/TvioOYveLwuiMpuD6UJ9DdxFnxgieWXS4/gm3Eot7HuNBDFUJ4UvItyPtfRrH2CYUcAF8P9rYrzbk3BLhKkwGd9Y5YOxklh++txCLpkogd//71KclMEvTh17tnuhlCiabbtRoDMtgTXCVX4SJA6dlU0jxBs2gjKrbgTZFLF0z1z2/9r5nux/VSV/qiQE+DuJj1KcKGEDORcAoTap5hiO3rF+A1qURm5beFmXh2bXDHSsniKfgTVhdmbyRlxUcOjAQbbYkvK3k8WTjCcLheb5ewFG6S2YkZPAjGn6Sup7vYQgauuFuIpgGI9PI8aUjauj0ffR7ABAdTihrVj/zxkPc1klhV/I8SwHixI+nd6Sd5+5U2eRLVfJII5u7tFxxBaBeDNbsmHlbSDTmyqMmwA9//YFMGnj8I/EfwobzZJyPE4S9SL/T4VH1cKLduIQDAumGhUoFYKIsLkM1nmtRFiNFYIaW3Xh7VwBZSsfa+CYlL63I8mJuDr1toRIQ4u0hFBUC1cqKKI8VEr3cDkWk6u7LZ3cfCUDC3ev3bAAnltzQDlY/nbLRknW9LwvEgLlmRLjbS0PzrOLIBQa0d6k9/OjRDezoeqJ7yjtmWR6y+myJB4yl32PH0cXcNf0P06+QizDGHMAvFNTF7z9yqEemFStt+4YRsITQY+h5KQU4r4Rurf7LoJuJNJdPCS6/GW0CurKde2jDGgXVKXP23w2nQXXq6QHW/xweDUwTfKS8XYQznCd4WP/Bz6uRyUbCn7b62HizAUN7czBln9v01o4QFgkRvNsHO08VTwJ45HRbUWJF44P3R3MOIsRJsppclTqKFNnzrS0yoGxclWC9Ann6/gUlqtNZNvOxKONz5GyN+h1biYGHtmrOzLJVcXC0kSWZy4mRQM3koWaT7pPngIGRumTvz4CbHkIKxc0mLEGievOJTuJs5WLzkYcstr3BaFw6BNaGRrJVQ9zXuw+xpTcZNMyzzowda3IcwtSAJ2c5VEPNGJbVtFDLJ8oPrM+I584NfAUJHJfNcLJpmzq79BAlFomfHVQn4aqdyJAyOIPTQOMNglXlEBjsZCeMlq X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 84a5c77f-00f9-41c0-32a3-08d95748b8b5 X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB4523.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2021 13:06:49.9099 (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: 8fF5Kv+6yFfMXSg4GYE4xOkj0eVxvs6ftcM7NvdG2Lzp59QPF/T4VuAI8RVBI5YEaau69K2UyAiwjWpV8fpeMrf9kI3bw5HfNQsKqPyAOH0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5401 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210804_060653_083722_C56269FD X-CRM114-Status: GOOD ( 10.60 ) 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 Signed-off-by: Michael Riesch --- .../boot/dts/rockchip/rk3568-evb1-v10.dts | 206 ++++++++++++++++++ 1 file changed, 206 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts index 65e536c78d2e..f682144a1892 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts @@ -104,6 +104,203 @@ status = "okay"; }; +&i2c0 { + status = "okay"; + + rk809: pmic@20 { + compatible = "rockchip,rk809"; + reg = <0x20>; + interrupt-parent = <&gpio0>; + interrupts = ; + #clock-cells = <1>; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_int>; + rockchip,system-power-controller; + wakeup-source; + + vcc1-supply = <&vcc3v3_sys>; + vcc2-supply = <&vcc3v3_sys>; + vcc3-supply = <&vcc3v3_sys>; + vcc4-supply = <&vcc3v3_sys>; + vcc5-supply = <&vcc3v3_sys>; + vcc6-supply = <&vcc3v3_sys>; + vcc7-supply = <&vcc3v3_sys>; + vcc8-supply = <&vcc3v3_sys>; + vcc9-supply = <&vcc3v3_sys>; + + regulators { + vdd_logic: DCDC_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1350000>; + regulator-init-microvolt = <900000>; + regulator-ramp-delay = <6001>; + regulator-initial-mode = <0x2>; + regulator-name = "vdd_logic"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_gpu: DCDC_REG2 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1350000>; + regulator-init-microvolt = <900000>; + regulator-ramp-delay = <6001>; + regulator-initial-mode = <0x2>; + regulator-name = "vdd_gpu"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_ddr: DCDC_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-initial-mode = <0x2>; + regulator-name = "vcc_ddr"; + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vdd_npu: DCDC_REG4 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1350000>; + regulator-init-microvolt = <900000>; + regulator-ramp-delay = <6001>; + regulator-initial-mode = <0x2>; + regulator-name = "vdd_npu"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_1v8: DCDC_REG5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc_1v8"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdda0v9_image: LDO_REG1 { + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + regulator-name = "vdda0v9_image"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdda_0v9: LDO_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + regulator-name = "vdda_0v9"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdda0v9_pmu: LDO_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + regulator-name = "vdda0v9_pmu"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <900000>; + }; + }; + + vccio_acodec: LDO_REG4 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vccio_acodec"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vccio_sd: LDO_REG5 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vccio_sd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc3v3_pmu: LDO_REG6 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc3v3_pmu"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcca_1v8: LDO_REG7 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcca_1v8"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcca1v8_pmu: LDO_REG8 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcca1v8_pmu"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + vcca1v8_image: LDO_REG9 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcca1v8_image"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_3v3: SWITCH_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc_3v3"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc3v3_sd: SWITCH_REG2 { + regulator-name = "vcc3v3_sd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + }; +}; + &mdio0 { rgmii_phy0: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; @@ -124,6 +321,15 @@ }; }; +&pinctrl { + pmic { + pmic_int: pmic_int { + rockchip,pins = + <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; +}; + &sdhci { bus-width = <8>; max-frequency = <200000000>; From patchwork Wed Aug 4 13:06:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12418727 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2179CC4338F for ; Wed, 4 Aug 2021 13:11:00 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id CC9ED60231 for ; Wed, 4 Aug 2021 13:10:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CC9ED60231 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=wolfvision.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=iKQj4O13L/yLEupKVbzHYvStg5OpzU90QWDo2uDDycc=; b=Ke+MHHwES6PkA9 xN7mR72HujwymJbZgcOECgd0/jlnskvIQb5UakesmU11V1UoAYtj/D7lGO8jJqqJ3xlE6cXuvDYzJ rHPvQUUqa/VU/t6r/b51KYxkCFMbBvHpfE2nRmtcBrf+9d8q1ayr2HVqG4Zkwc5ErvU+9W6o5BmmI AlOj40KoGYneWEEdDhjo7XgvdJJn5fpv/GjiezRLFTxcuOYMw5oJkMPR5nnNWTBmP/3EAQp9tFV4E S8qryonjgJ8vy67yKYtBNY2Qtz1c95fhmmcbEdhOtDTni3qTSzSWtk57nx6mZjoDkGHdcS+QoQ4PA 2kXX6syR3sEIsJ1mBb5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGd3-0065TY-Ve; Wed, 04 Aug 2021 13:08:16 +0000 Received: from mail-am6eur05on2083.outbound.protection.outlook.com ([40.107.22.83] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGbn-0064ze-4g; Wed, 04 Aug 2021 13:06:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PcUpoKEXHWFSo4u52sZLYe52SQmwBNB/gmVx7W3I7SNKeu6nS5hHiLvkHKOh3Kie3hepeI5gNU0Q+bGO37NVj+liu8swkIVAKiX+p54MiGySU0AbbRz21eXsSpyfkiMyF3taZptq7U4o8JYl18vej71rIn+C55KgkvwYqLHtbFgL/KS0ZsVnnf+r0hKiboq0rwrs6tf/+B51DAT6RmzON/fA8Qa6FHSaWdnjr7s4Y0VFCSti9cRFYjDc6/NyvG5zw6Evi/SXmbNHC6S+mxqOpyExE3b646qWW4U8aW2zPlTdnsWmaYXSBdVZyT7YOnE3s0x8OSPUFh8ghPlIwpoQtg== 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-SenderADCheck; bh=QINOo2EK78jKgw9jFciPQM5txgvEv01vBABX65mvvBE=; b=BI2tt527KPnxvWlXbGJeRfb31qYetYkqXZYyQCBxgtvpjz8CEhbKGZ8oXhzWqDGw8rTl/Hgzi2vOdLcnd5ljioDArmNFaEI0ZDzIpnIbcYE5dxSn4UaI6TixrEAx92Rd5NFLhQ44oFulNs0fKxoePyn+Y+zxDfzhUn8+jErDn4lBXrvVlxwz9yVDDVprMMU9/RP9nGwk5fDrkfH5DjRSbCTbf0Sh0dwDBqcKSYHuIlAvbRlxWywzxFQeUCvM6l3WmghBHJSyJhhRwaet4D6WYRV0v/K4OqNmXRSwTALPImgnUYlIMPIMBCsBWKyV/9Lz1DO9zFCU5VENxynYimsazw== 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=QINOo2EK78jKgw9jFciPQM5txgvEv01vBABX65mvvBE=; b=FGPv7j+IYGqGHSDZ+4vIVRiZfyPHbwzSdo2RPl8WSEsz5MSHvRMOkRVGpXnSkimdi9LBIQqnHCwg/9nEBlx/Zf6l2+F9x/DMo7kk60VI3ydm1LVoGPBiGWAVRyr3bcR9CZ0r4bzH/Kv4Dx3OhIxHZx8Q/57x9PxNdv/oJbPM7Uk= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=wolfvision.net; Received: from DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) by DB8PR08MB5401.eurprd08.prod.outlook.com (2603:10a6:10:f9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Wed, 4 Aug 2021 13:06:52 +0000 Received: from DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b]) by DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b%7]) with mapi id 15.20.4394.016; Wed, 4 Aug 2021 13:06:52 +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 , Heiko Stuebner , Liang Chen , Peter Geis , Sascha Hauer , Michael Riesch , Simon Xue , Jianqun Xu , "Rafael J . Wysocki" , Lee Jones , Ulf Hansson , Zhang Changzhong , Johan Jonker Subject: [PATCH v2 4/7] arm64: dts: rockchip: enable io domains for rk356x Date: Wed, 4 Aug 2021 15:06:22 +0200 Message-Id: <20210804130625.15449-5-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210804130625.15449-1-michael.riesch@wolfvision.net> References: <20210804130625.15449-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: AM4PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:200:89::22) To DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from carlos.wolfvision-at.intra (91.118.163.37) by AM4PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:200:89::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Wed, 4 Aug 2021 13:06:51 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7408e878-a8a8-4e39-5126-08d95748ba27 X-MS-TrafficTypeDiagnostic: DB8PR08MB5401: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:296; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6T55nFzzvEEKdvVw8s+J2TLBJIX3XSY9PIVjTRRP/6n4MEcRcVfTsyBPoCrzptjjqaWPYWUN3DHqZfIgkfwRI7UBShcWfI4L3belW2ZPnIi+mr8B+KPa7sMvd7JYnwFzHuXh7nn2QTWCK4KHDTWXmrSw4Jd/SqLsPDMPf0qyW8YaJahaW5zk9wfjXSqu/c57C1QPLcsuGpObQSsw3KamjE1z7lGRBu+cq9EHzCMeoDa6NY8YbYspBjKyGifiYaoVF+vqL9S0arqP6s2uZNZxDolMOdgNtj9BqROTfCHmVKezfu9aty/o/x+aVCEkoWwaA7Zb9b+ZTq3o8yXiZDh9BvNDfsB83jhtmF5Vc9SkD8A4Ujrzalo7loqTL3MECBVPW7ivsLUcOfAIG/H8fL6h+pGP+ln1yeOBSzSprbeX+sIjNxha6IcFIDzr98iknb5YFJOefL/yHilIemaB9bGpxw+qJOMnxxpqbHxKBHcB+mnqZZvoFZa4EITOVtQENo5bzmXD948oOtT/v1j9NLIG/ne3BNkk+ywPLOePDBxTBt811+WziMQ8S4M4gmXIx8LZkh/8IENGNZNoqFYZmi5TNe4/tRwe5kern+P9RI9LdoN3niaGJLw4Qp6BDC1QE0WSnkar7KT6qzHaxM6bRUOH6rGFt1lBbeWcjEG9TP/2XQEGxKRmWV65um0lrKcMViLDZg+3MdHS+5vHV9G1rGE/rg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB4523.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(39840400004)(396003)(366004)(346002)(136003)(8676002)(186003)(956004)(1076003)(7416002)(478600001)(2616005)(2906002)(66556008)(8936002)(66476007)(66946007)(52116002)(6666004)(83380400001)(54906003)(36756003)(38350700002)(5660300002)(44832011)(316002)(6512007)(38100700002)(26005)(86362001)(6486002)(4326008)(4744005)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OdA2CbyXCRWzEWA3/mAS95TnpFDnZLs84HRG/6DGnW+PCH34jN+CtugemS6m/lEtbhDiA0kymBn5QWvMEQKFr5YbRIlAhMlqRqnutcweXOhhxLkk1oDvtvL9dNfvxekEjYjujvf1fvhvIcHoI1DueLCAqKZOa7TM4w7QXADcbfqEYPDBCZY3m3SB88myWcoAJysUTALWVhHwqTSlsNUBA/8iyzGX6k4Qz6NVMe33Dlv8w5aKvLvXWbhFG+AHRXvrzDBsce46Z4AstfDWEt14+YuQP65qBVQ94BJ8yJjDQcCdZ3HebCyAJkRGhX0tExfbu1Crw/54ExtXmzojxxmyqq3RjruA8/MxaPXCnetI1Emb0INDja9B5RtqGPpL4oBV2rNEnLhr6clvT5ZEag/AZrs0jn8s8ZuEn1rPtFfl/UCf2jRwRS6qUEKFv6C17vPPCtrTxHuuznkEJKI+IYprNB/8cjh+uWay28W4MpKloe+UOoC92LVroGXbvoWuU7acJfPRSF1vtZ1rd1ouDXggAFnKSJ1VkYwiLGS90A93ykS6+DZ2YJUjoiiTUFj6VxymS7TYm1sKQg2hbzLYLA6U+x+/UGeUJm5EEtOaRh5vkR0jywjy3A7AGTYV9a43GNsGyjYhsGd04K8LF4LEplv6yFm19c9gaoUtfI69OOjlJt7cGztWlnnNkFPUWIJ4noKSzcLszjpOwlvju+CRYPk2mYNXHi/VZR6FFcUXIsACWZGYYFxgSaWo0dYpkGI7jTpzX1sAEmMBcG3qlmpdzbO90z6fnpSlfQq+m4PPpOIeWNrSdswjgVMMa3Sp4Ro3BhuBWzYisIWva96L5yQBxTxpWgv0y1vAbO8RUb2BFqhc1fNnwmqCIZXmIKWwnZMdOMQGBC+ozZMym5Wc4aJN7hXQ/p/px3J62tO+NjuNHLLoT6cqEOfj7FObz+1mHJ8E8dUeGYsX14pkoikLDtho+sRef5VPQi/tGjAB/IbdBGiN1M3n0+xa6j8mytTsUPxj9L9O1AMyToWOPZYxSMp/RnyJno59aWFpa2jRK1eGwc2ZC78pYHAXwW471wI+AOMUGoNnE5XZ008NIxFg1qOsgAEgra25FlSUvphgeEWZU1ZaI4E/sc4JpS8gZPa3nyEFlT3veokbAuOrVOXyDN570j6TJ/IzQHZuHY9UImDr4YbdMzlwbUEBZoGhUW3+ugGbzVlI5ly6n3SOoXM1MPglVSpWyRifCwzvM2VmbOjhtEffXv69kyve66MIpJ3wzLMLqQHfyidsm8Oi/g8R+HXkJNUVltigWZcJ7UwrrZKc9VL79+uhHov8GwHmWx2Wp2YO53IZ X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 7408e878-a8a8-4e39-5126-08d95748ba27 X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB4523.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2021 13:06:52.3645 (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: 6SfsrE4K91XNkXoxu40E6+IeN4qiMSwE1hD8we4ekbGMvD4XznXqRmVUN8fGFDwRXly6ngONF3wAgvIIFNLjVrY6XqUks9Ox+Rc0Y3U8OSs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5401 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210804_060655_213596_40FE4EB6 X-CRM114-Status: GOOD ( 10.39 ) 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 Signed-off-by: Michael Riesch --- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index 3e90a8832bb9..834863940eba 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -203,6 +203,11 @@ pmugrf: syscon@fdc20000 { compatible = "rockchip,rk3568-pmugrf", "syscon", "simple-mfd"; reg = <0x0 0xfdc20000 0x0 0x10000>; + + pmu_io_domains: io-domains { + compatible = "rockchip,rk3568-pmu-io-voltage-domain"; + status = "disabled"; + }; }; grf: syscon@fdc60000 { From patchwork Wed Aug 4 13:06:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12418729 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2AE6FC4338F for ; Wed, 4 Aug 2021 13:11:52 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id E2E1060F43 for ; Wed, 4 Aug 2021 13:11:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E2E1060F43 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=wolfvision.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=BjgkBkvdtDcHVvZ9amxDH9AfoftsOtypfPNtRhZPZv8=; b=zepFmOBvYRCJ6/ MLMpSbqf0XDyroH8FTlirsh4e374PLjjwkEielHksXwF9A8+roKnap83NN+vR18OEPIYtGr21IQm2 Dd+MvuinAzKVNeVz9KLwwKOvxmrg63sKtWXutFOOtBVogeEiHutSE9Ky2xwsPvPYI7ZakXfNT+m3+ iik/1Q9G83C8zUD9yZsLwZD/I9Z0rsSUNyXaq46yeD43S7cUXMeK6UlPyUdx9TkIggV84gdT5aZ+7 hZTceR8qroIpTK3KIU01UcENxlB+v31vXPYBmj4ceC37Hz0O54Laqf7vI7xJWKMoYLszF3A924qzs W23zFqKFhjfvndPQ7uAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGdw-0065s5-CI; Wed, 04 Aug 2021 13:09:09 +0000 Received: from mail-am6eur05on2083.outbound.protection.outlook.com ([40.107.22.83] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGbo-0064ze-OQ; Wed, 04 Aug 2021 13:06:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BhwDAtLtALiymEAkXqPatSTwoko8vAuaQtJzjrzB0+GZYE5U3cOuaCoPPMVPy+Hq1XVdHus88lLHMv5HrINpk/HEzGgx9xvpuk+2DD41wTYUBoFDmlxOg/+dtl5Sl0NNEEL9Gu4S9NJQWQeVoALD80DjpHyUbDjrHPxtrXCKwrwOtKTHjsLi9rW+zXhHI6kTOU8sUrCIYeH0X7LKG8k6P13IIlJNBmpMvqo+LZDT5j+jtARopYTGuhb8kTvOOLeLjprkcJMsfNWNyMZhI5b5iS1plVfBZJCxMfu6p7tUfqIfK+EJcz7sWNrP7Pc06ZlmxV0ITvwjPZbPexBIHc42jA== 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-SenderADCheck; bh=znSrPeijcnI5IKh1hIE1EdN/xozHnqzp7roxX8Z/NMc=; b=nUdXwifF10khRRWPUSqLoJE1deMhzVCOLJL9fL20wSUcYcuAXm3Tdk23ahrpOT/iWBW4hpZzcPQoa6y4e9EkvW1jIV3Osssni0ovnH/SAa7/NxWMluz1VK2fFOOcF7OpryUa2vBWBq1Zp50556Whv1OAn/y5J6AbIvuwMn1jCXZHTYpmnyBjGhlsyfHXs+7KtUCX7I9ccaV8ibexqAf+sLuqMFhnXqwehLJPATzhRV6bVu0D9pRtc2cto4mqfxeldDFdHueeLR7QsO2fHiqqY29XVOqcv4ulXmVTcOw7DwDkxm6Himay2Vq2sjpJnM3q972J9lES9fT6ZnC/uB65UQ== 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=znSrPeijcnI5IKh1hIE1EdN/xozHnqzp7roxX8Z/NMc=; b=ril/4fgBuUXhVeJwDLr36uEQcBNDUDuZazQ/IFRzi9LNf7E9vDCaafQuJNjNntAoh9o0icR18qhKDeUVLMWVejRNsyoVdv37BplfLAyjkdJO6F8DzXtnNqj+SfTzRn3Jy4ZJlBJ5/69xIuZuQ4CAkvWfqeSJ90Y9OOdNb3fWZs4= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=wolfvision.net; Received: from DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) by DB8PR08MB5401.eurprd08.prod.outlook.com (2603:10a6:10:f9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Wed, 4 Aug 2021 13:06:54 +0000 Received: from DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b]) by DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b%7]) with mapi id 15.20.4394.016; Wed, 4 Aug 2021 13:06:54 +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 , Heiko Stuebner , Liang Chen , Peter Geis , Sascha Hauer , Michael Riesch , Simon Xue , Jianqun Xu , "Rafael J . Wysocki" , Lee Jones , Ulf Hansson , Zhang Changzhong , Johan Jonker Subject: [PATCH v2 5/7] arm64: dts: rockchip: rk3568-evb1-v10: enable io domains Date: Wed, 4 Aug 2021 15:06:23 +0200 Message-Id: <20210804130625.15449-6-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210804130625.15449-1-michael.riesch@wolfvision.net> References: <20210804130625.15449-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: AM4PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:200:89::22) To DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from carlos.wolfvision-at.intra (91.118.163.37) by AM4PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:200:89::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Wed, 4 Aug 2021 13:06:53 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 605e38f8-94a9-4f5a-f4b5-08d95748bb6f X-MS-TrafficTypeDiagnostic: DB8PR08MB5401: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:296; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: saP+ceFqB60ju7fdV2grP5H/RUnP5ihh7i/vnNNdHYHTCZb9JSQHYbmODvTv47V3ce90HKZJZhsmuV5dVozgf+jR0mvLWwYIHw7hPuy7SIEL9/tZTh4nHI3FlTEIt9PSJtYUb76UtGDzECnMLD8j5gMB6gkqGtcnDmED1IdODbQe4wZm0vj0F3IEGmcB0Lunl4PkBvRSI/IuBnwx+joY2rSpwIKAARlm7x08HeVIeJ3n+WkkOYuHy9M2YwGA9gzt2FPCxRr8MEZfJu8iTfc8+T+DtLLzXkKNvcZDS39LI0PteAgRcZjHChi8eiarZzUiAsSivU81IUC/Btxf0Gj3OupQh0LCZR+UPtxTS7Zzr87JZeJtvDx9Jgdd2B5nIiy5M3cSsqGEKhKZEUC758TFPurMyvLCZe4iPYMTP4rxjFQgCksHYNgBikKh8eMFEiqeymmw17FzoCetGQuPw6AuDoRUqQzduHgHCbsouwQh1/45F+18y1JgTL2OSUWYLTEZv3nk8NpOQTqMtX6MMuRPu0bcIlL2a033wV6XmFxys9r5e5qB2i003Au4CS/zdj/cQ96bHX0TxgVmTT+PM8Hn6pnpIGIyx6hc9RLpOSYuskv0Xmmzt4549r2LYtotrSp/aUPvjXEcohXaBANjqGKmZiG0VvQc99rfnr9af5qLSAhZlFdcoIVE3ph6TfCiOvZMqhI8Obf/SaUwSPVfy2+mTA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB4523.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(39840400004)(396003)(366004)(346002)(136003)(8676002)(186003)(956004)(1076003)(7416002)(478600001)(2616005)(2906002)(66556008)(8936002)(66476007)(66946007)(52116002)(6666004)(54906003)(36756003)(38350700002)(5660300002)(44832011)(316002)(6512007)(38100700002)(26005)(86362001)(6486002)(4326008)(4744005)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fDQDbEea0+aiBSvvkQxO6IoUWxFtDx7rcqdL3hM8WDQ7nc9pu+ELYYkFxnkjteL334J7QVwHchZaIXeXrEJ43oTwdiIt9kRVRQ+f0EoraVJ56LbVrZG7vq049dZUYM6PwdX2oKCwOurjF9bia5pGx+tcvC6nArOnw7gUHX6C6V5rR1glMv0ewa84rXagQwqDfG6lU4WYkuvMp1FhM4TBLd0glAqvDLsjsK4HkfpWzw4RBsI8PVK33Fk3/EiTlxc+eLxGcKmW5yD7WWz3bl04wy08JTyWd20lzGpLD1b3K06UlSsYQFF9uaXvg3piH29izioV2ErXTJCiZi7dVjoexVVC/DePia3WND0wGlG0KpCYuYVJ5Xtsa1lJVJa/j5fPfMPeNxOA3sa+vblcFm6612rlThQld72kXRiw4c1ug+NgJWH0sN5LBAq1yNZvw//sZfIgI/vA1ab2peOgUiakDmYGuoRxpPJip9QbtvlKeI5DskQdHnV0XEzjVAap+E4vFSd60IZG/Sm6YBbU9S8AT34LuAJZ8E3QXN91y5NgWlqbCfZvNUbf4LjDi3dgWsX/VvTvxG62yRpxq44lVIMQ6GZp+l1NK0rfWhHmJAhO7Hyu6PUdWBkAcFgJwetezdelfi1ZTNMkCNqXYJzID/nEoFb+mIOy+gQMVHIMcr9eYMh0MwBj21mmTvYUwCyYSRXyBDXCaELADVGNijl/0kiGfchpS4j+e4w1HPWQ/Uopra2Nf4dY9HDIc7HHWt1dptae+CRz3ydqFLwrsiljWguv+fbKiA714URsR/RQhyA0k/EKQ4Lof2LGFJ66ebbPCn8L1i5LCr1wzaeI/aaB1ewA+8XSiOiTM4uz6oz68P6eYLXdHuDiHoo+thkeGnAK6ghyNLRFOX8qDY3O8kYW4FZpFapfxtGeeMU4N6JM7D7Wh7mMHTLvhEqf42WkEyUjK9eiCBb/S585LxEv6A2TDeeP38SqrHkXQU0SowQ4Dwj0zbLxW3GEqU/gK/BoLd/biszBB739ITPma1ntxte2e9X6FBaO3RCDwEntAYDYlWI5vjroNllSsKpjAUkejYZsOFNR1Wm8HSqp5e1L1pPcd6VSY7pVQ2p4KBZ9YffX6/j11zkbdhiW7mOlDfTB4qsdX5S1KcnW+spOwhtwXGTgRH2eRUgAatmiVlVIVUTW47tatU+rGjZxqe031fLhupExJDVjXfmZTZpPiUQKRAOhF2XMxOeOPiDwwQStL/hYyh/9S4eCA2Rqx8ohvBEsKZV91z0HfW7aM/fzvDfCn/5GG2kyJiqU/FMNSTqXUKdZV9qHySSoGBlhUXJY2WlTl5X9AEfb X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 605e38f8-94a9-4f5a-f4b5-08d95748bb6f X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB4523.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2021 13:06:54.5213 (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: O0nig2DL2iKpJdyOG1VansvDExZujpxt92xw5oLgqhbeDfpY7MOPGfr8n5vw4vLIgaORYwgAWQ/31bwG1sQXHdyerRxbN+v48OvSWdkwCQw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5401 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210804_060656_823570_42758288 X-CRM114-Status: GOOD ( 10.30 ) 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 Signed-off-by: Michael Riesch --- arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts index f682144a1892..f3fd4a6813a2 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts @@ -330,6 +330,19 @@ }; }; +&pmu_io_domains { + pmuio1-supply = <&vcc3v3_pmu>; + pmuio2-supply = <&vcc3v3_pmu>; + vccio1-supply = <&vccio_acodec>; + vccio2-supply = <&vcc_1v8>; + vccio3-supply = <&vccio_sd>; + vccio4-supply = <&vcc_1v8>; + vccio5-supply = <&vcc_3v3>; + vccio6-supply = <&vcc_1v8>; + vccio7-supply = <&vcc_3v3>; + status = "okay"; +}; + &sdhci { bus-width = <8>; max-frequency = <200000000>; From patchwork Wed Aug 4 13:06:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12418731 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F08CDC4338F for ; Wed, 4 Aug 2021 13:12:47 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B11A860231 for ; Wed, 4 Aug 2021 13:12:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B11A860231 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=wolfvision.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=Uo2DRGEbPycuMffY+S8ZqpcbaI+boROw6UMPKa2SEVc=; b=WJ87rhHysGkPDv yDUheihImeWcK6Jzg2ncsX/74VhJtwWFMC7LL6HRyh9E5ESEOopCSCRcCltmS5HoWqbEoxkk51JwQ fNYhhx2VmptBdrsHtpZCT+s5bw3w2iUbp763+YtDjgTwkXbrLcsP91P3zPyGx06o7FCaTQ97XiMwm 4Q8Zp4aH38cZarwvGDePrwDj4eo+iJ3HjoPUChIoG6zc5tTlgUrOZkYXifIM3hLJ8vInYZo+/4L6I 5BV5D2QTgp1x+hfhwx+yVL3j950zWr24suzmaDYIPKxVgesDu4+/C4iQJTgoogjVYdNb8qndWa5aU vhoTZM/PrVHuEKTgpvVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGey-0066OL-JQ; Wed, 04 Aug 2021 13:10:14 +0000 Received: from mail-am6eur05on2083.outbound.protection.outlook.com ([40.107.22.83] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGbq-0064ze-CS; Wed, 04 Aug 2021 13:06:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nkeq4VEOdu04MyaN4cDCPFeUBtszijmaVcyvHjHohtQ6CZeTwAJnFhwi8FQSy2yGy8C5QfGtocgdVIuQs/yHD3H00Lojj4nZD3T1Lca3We1OyCfgh5AT7GcKrxc1OKTAGflKAp5lypf/iHuUDgorC4UBxJZGWhwxhnqxZaWRyJgCbAjyplCBdx1qdgxOvsh5rsqjm6l+YTSyr9es5JNrisdd5DVg2sWJEryLYUn+Ni+SuIO+eJY5nkXgg5GSkI27ptnqGcsDPQnYYqhaXf3uE6EzNsW3sWWyhR7vYkoodUQV7Vt/aAtsPYFElL1GuTyAA+ApzisfoAD3ZrpxyDSxFw== 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-SenderADCheck; bh=B+0Gb+H3BGf4YJZYQyOIKBLChBn+0QdR0FC3oHOe//E=; b=DdslcTmBL/oaoIiPmWsjlrvd8sagAqL65QZd+GzsG4dxykaGEvbSJR0wkD5LkCNskPvDKh4DDg/VhUKsFGsWuEFkRFAFGEz04+rCpYFvY/EBVCt343UmnJkksC0Ze5OaV4WwjexywpbzZA/4ponPpKo9JPGk2LLws/oG6D3CdHWE0ckppUWNgC7+7vfxRDk5VtHCjSNyfwECDjOQRcCKwKO2lHkvAhYpNkNCcTya7JRQ+coJqoOyvgrzR9wIDKOyPkC5PemQp4lIOPamRmWvAi/X532q49h+LCgLbr2lNI6xsW4NaOCi7P0rWCGXVNp3DZAw39SAM1oD6LCA6hOd9w== 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=B+0Gb+H3BGf4YJZYQyOIKBLChBn+0QdR0FC3oHOe//E=; b=GSiJlPOak9FcKBJgnwtFNoo2Kv6jAowyLRgaSf8vW2U9Ent1rxBcpedCG/n8iLui0FLzhNz+QBx80IMDMoIxGij7r9x8XtcrJIYPISgPlDFWkAtnCSmjegMlkWhZvHabFv1k/9uK9Ag78C5szv7gvZAQhYnFAhvijcu8ljANB6w= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=wolfvision.net; Received: from DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) by DB8PR08MB5401.eurprd08.prod.outlook.com (2603:10a6:10:f9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Wed, 4 Aug 2021 13:06:56 +0000 Received: from DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b]) by DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b%7]) with mapi id 15.20.4394.016; Wed, 4 Aug 2021 13:06:56 +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 , Heiko Stuebner , Liang Chen , Peter Geis , Sascha Hauer , Michael Riesch , Simon Xue , Jianqun Xu , "Rafael J . Wysocki" , Lee Jones , Ulf Hansson , Zhang Changzhong , Johan Jonker Subject: [PATCH v2 6/7] arm64: dts: rockchip: rk3568-evb1-v10: add pinctrl and alias to emmc node Date: Wed, 4 Aug 2021 15:06:24 +0200 Message-Id: <20210804130625.15449-7-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210804130625.15449-1-michael.riesch@wolfvision.net> References: <20210804130625.15449-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: AM4PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:200:89::22) To DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from carlos.wolfvision-at.intra (91.118.163.37) by AM4PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:200:89::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Wed, 4 Aug 2021 13:06:55 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 69e725de-9742-470a-b51c-08d95748bcce X-MS-TrafficTypeDiagnostic: DB8PR08MB5401: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:361; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KbV8DRGhXpWiFegBOv2BOnd3WbRYdjeGzY45+BFNBALQeXLOBveAmWD1z97EdnMaiRiqhv3l/b2Hhs2RBu2zxxrqxaA3cTHEhw5uR+hhBZrB517LduTyIjnvOH35kaEdIWNeooiUZCGE011QR4PYYkWA8hQ5HHmGogzSNq2vw2sEGUHzbaBeEy82dlsqBQeMChjIPcX4ljIwQgnlV2MGlovZBVEj4w5L7F3pH6Dmsg3nw+vuPYxKv2+oexe9Cbm+ugpzCiShjLGTrYrtD6ei76Sm17Mc+VGJDWui9HPbctORzHB1kgi09XwjV2aTmxOO4IhFW3HkzV/7vIYtV5gbhDf2+52zGGF8umIk8uI615txMe2kAz9Rqnc5KFtrOixTHnkRcgOewQrecHshobVB20JBVJmJKj0n6uftCrIbnurxlJvafJ3emDsb7K3GOafN4liZQEgMAOFdSl7gbMcrsFg42ubXJztyCyawbsH4H6qeHZGleDoaeldQ+pTohD8PEm9sbD4klnsXolhS1nP9AHzlToZfasTso95Y89KLXATv7ihOFtXAvvoSHXf3sbGQq8gZaigZ3Y93O/G3mSEIdYeo4tL5a/Ryoxyvp6KIJHdugCeOGFoI/VKubstRQkf+BqSh4AxrhoHAZZF0e3ryB3/ujkItekzHl2S2l/sGtZ30lI6YV3huJs+4mk6SRUtjHIuFwqyr2mbrh2dW7L0vtw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB4523.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(39840400004)(396003)(366004)(346002)(136003)(8676002)(186003)(956004)(1076003)(7416002)(478600001)(2616005)(2906002)(66556008)(8936002)(66476007)(66946007)(52116002)(6666004)(54906003)(36756003)(38350700002)(5660300002)(44832011)(316002)(6512007)(38100700002)(26005)(86362001)(6486002)(4326008)(4744005)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qo9S5aLZ7vE/zzBff8A8cDk4j9KMQWq0HrDTXQg806Injjekoo4CPVg+0aCfVz6ui/ONsSYCfGa7H+ulQL+LUKWPBOJBLKs39ScwAcSMsPJCG9WB1NhoEJ31n9eZf2GA+tej2Dmq2XepQedaza6Y2rniQjzBSgGZqxx3Yasnro1stUbAATi14z2LpnNeu2K2eVMosJNAdZ+jonCq844rFqNnGE2rzbuY7EfO/oZfKgsKaEF9LVtKK5t7LcHlMWKVp9t91Zf26l/eed8aT/jEaZSlo9UTcl7w6ErwIX3vZc9CpIbQ8h7eVIvPAF/U7j+j4wdlRUIYpNr84y51wZ/3bHs47PCJRQ4jmYJ6dPzQ8bnIHei0yEYyyqcFuWPHr1NAB9ngYEoV9Gf+fNBlbCGkDImEPxtmLcZ4/t3nke7s8W1z3wS/NhZGM3iNMbF0hjjeAStlHqhI90TwEw1nt7egBz+11vTq/Ul0CRG2qcQbHwqKtfW2ToTXSRrOcxs+FD9Z49uwfrMfP70rGsXDjslbdVIQ4FeOk2Et9W+6fnIKBaU/9J0llc58pCDYu2btRxWG7A/aWaAjEGRvUX9quIdvt2WIC3HS7a6N34aLhq+LdvoC+nbeI3U9ymKeTb6DSajhwnLyAiEAXLvnHZPutaXXXQ/rErFT8zV2lzVfYq1PZNjYwRudD4987fH049F0eyjyQ69q0fEAQb37iJYlDekUuvl02MGYH0JPuYzu1nrzKlAYM41xEuQzsdtAXvFt2dPpszqwao8qwDOF+RI6rVCjUX2LFBOeyk3t9K3rIkzepo8vaR7kjKQYs3IpM2Jq7PP/cnQYbiadzSfOF6G1/GoaZ5bmzeMER6shsTjN0LH7fEV3QbxsmX+HMOhQ4uZzb/loIAOaBFRCbw5FtbmzX8I3Qu5jNTS30BBb+pjz7dZecqETdXH+DCudgOaUbD8Eu6CDjMRTEJoMW/0Vfna6VorO0zOPqJvytAxEwU3I54lbhCPjTKfC15r5p0z6bw91Y68yUX5/CPcdCi9WeI9T2eliUbbnCu49u8zUpUYHb2xTN7cvDab6ISruh2DKugqTBc4bSBtJfllxM80NkyG3c7yaN1Fc8Z7SwU3QojFhBVNY2sdlL5tOS1POkvG7RcaTzLGgwKIMKuLXnoYyuhq7xGGc3vuXVhfajkUSMmiP7Vl9u0/OM5ZsvjbXsHUC4ZIT09g7j9DW9SidZThxBwz55HAmVF9Vk4fgrkVRIKbmkJFo4uM3NzbzZpgX5YQj+3D7xtEvLHQX2Nv7VgaUXfhvI4Y81QR+A7DpP6/OSJ37vYz4IPuL3Tjg5T7IozWNW3jfR/lL X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 69e725de-9742-470a-b51c-08d95748bcce X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB4523.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2021 13:06:56.8060 (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: R0l0gzrY2qt+PqCmIj/r8+A2G9J7FYOitdNkRcr3WGhCFGhgLfwmUt8WcOBJXA1kqJClJmEIKT03clrDP1mCFnRFcUXXNM9Cw+PlkrAJEzo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5401 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210804_060658_450593_8493AF80 X-CRM114-Status: GOOD ( 10.40 ) 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 Signed-off-by: Michael Riesch --- v2: - rename alias to match convention arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts index f3fd4a6813a2..ed96f27c64a3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts @@ -16,6 +16,7 @@ aliases { ethernet0 = &gmac0; ethernet1 = &gmac1; + mmc0 = &sdhci; }; chosen: chosen { @@ -347,6 +348,8 @@ bus-width = <8>; max-frequency = <200000000>; non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>; status = "okay"; }; From patchwork Wed Aug 4 13:06:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12418733 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 306B6C4338F for ; Wed, 4 Aug 2021 13:13:53 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id F136760F43 for ; Wed, 4 Aug 2021 13:13:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F136760F43 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=wolfvision.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=cMy4GslWx27q+TVcvBUReausEknrCRLPY7XkBAhxYo0=; b=KlWqLGXxZeqrOH aBZvuhlNr5sHj4vq9OhF/Z/looujP7BepOu4Sh9m5I7NvydDfu9nTJrQ3zg1Htjg1puR+XmPEY29k IiF9o4ZmsVm46NE84h96+CRmMa2I/j7ryCQKKvJKUhyNtgf8vIo7NcalFsWUA1Zp5vks2cqonfi+D GK//9CBi2A99lp8ee0prJxDBwfKjRgYfMxZddC0GUm/VGvYDn5SKnpDrKXCeyQgq3jPcBrkSY0X27 itXjaYTQMbAzCl7iIGy98G5Cne4Fvi2RpdDeACQXFQtepFQc9N4ZRezSKwF1xwoobuIaJ6VxXpUsp ZT1r74uTGf6XRwcFpHfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGg3-0066qa-4S; Wed, 04 Aug 2021 13:11:20 +0000 Received: from mail-eopbgr20074.outbound.protection.outlook.com ([40.107.2.74] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGbu-00654x-RF; Wed, 04 Aug 2021 13:07:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A9RiA+5QSkioUWneYZJl3YVSNGcBMZwpp+2gUp3uqTRX/GTv42IsNWfvP0Cr2epvDCwPBtisD/pDZd6AhPSgT9XgV6ASoUJms3XKJ8NOCLAktpz2lRED4TotRkc77Sf3Hd/5TYTvr99T0gIS2kodOOXbxUUz1aMUBJIPIFHprpUYgbbKn0Qh3tf9LJEQgkGwty+t/Q7ZFHRirNVYe9xkjm8KRF4vzDENBgAOwhOgkLeMdy/w4oux/z1dH2gaHCzTKn7TuKAEg3jyfebwbNatGtlBsz7IIxjx2JiD75D4+E9JBn5lPo8DMuJBJZhn37CodyvxL2fOCBhkQADr8jv9KQ== 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-SenderADCheck; bh=9nYDEgGXUw3Acb+ARTlml6xCVcxgSVYO+81TNIMcqgc=; b=P/lmsj9cblKdNvxfQ7J05kEDTbKjS+W9XyVs1TXzN7xV6SMjOn6WS0kZkdSiWDfFCLYIk1sg1i+TT1OWXMExcqI0GlpVCGLcQ3mvYzE7vhOiSMrOJtOR7OSoFO2V6TnbhLZrQPLuqabcOPkehNngf+8/tGEKcDijULsRQJuQCL/+0iCE60L69JvdvD59IdoAA2GJWqYkgRsyRtjgUmdbfTNBsELs8qZIWLQu2mALj1U8xVzCsTC4Ig9AqYSJodm+KRIVoJVG6c4FwV3B+dZviTf72GqkT6cSMuKFNYBHzl6Mwb6n105EpbjRXGI67bBnDuV+7b6afSwa/0oqe3iniQ== 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=9nYDEgGXUw3Acb+ARTlml6xCVcxgSVYO+81TNIMcqgc=; b=hlIWC3+yOtxVAKKGxamHgYpeThRtTAlex6Aku4ynzrE3Aha7+3gZ+n7tSYeBDx+RyCNiezhJrUxGvDsSKXKnKcsBwD6jY6yXFECaoDF0+dFSewj8MhIW4EzB0GxWarcFvwnPq7YDkE090ozcaZlC59jBEHMhpm5gJZ3hAvYkih0= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=wolfvision.net; Received: from DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) by DB7PR08MB3723.eurprd08.prod.outlook.com (2603:10a6:10:7b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.16; Wed, 4 Aug 2021 13:06:59 +0000 Received: from DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b]) by DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b%7]) with mapi id 15.20.4394.016; Wed, 4 Aug 2021 13:06:59 +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 , Heiko Stuebner , Liang Chen , Peter Geis , Sascha Hauer , Michael Riesch , Simon Xue , Jianqun Xu , "Rafael J . Wysocki" , Lee Jones , Ulf Hansson , Zhang Changzhong , Johan Jonker Subject: [PATCH v2 7/7] arm64: dts: rockchip: rk3568-evb1-v10: add node for sd card Date: Wed, 4 Aug 2021 15:06:25 +0200 Message-Id: <20210804130625.15449-8-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210804130625.15449-1-michael.riesch@wolfvision.net> References: <20210804130625.15449-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: AM4PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:200:89::22) To DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from carlos.wolfvision-at.intra (91.118.163.37) by AM4PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:200:89::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Wed, 4 Aug 2021 13:06:57 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f046c3f4-0563-47a9-b809-08d95748be18 X-MS-TrafficTypeDiagnostic: DB7PR08MB3723: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:361; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DL8r0JoMhyr15Vh3Vihkto88U7pwpVJyYjPH1ZnA41sn0UU9yJS5vGpYADLieNlAwlemv6tsarkgrIpsgPYyf5GV7RWhr33UFHTGLPhk5t6gfsCKewwZ0eSj9mXgiZamZkrrNeQBCy56UcRDRadImebgmQcaBvjgJ4p4EcgeZdW70cgfh6yTp6heuUNrGPScaOuWvZWZ+94JerDTKA6KsoUt4ONyjIE/PGSniuJ2er3vBCoiwgZTG3CKeV/kmZoEJN+m9WI1KxKB5RWGNU+jhMsRDGo0T9gtc9cSe54o9LybSe8Aik113lzY112TxKv2jqC4V1dbrNCP4KX91cTniAOOXsCvSpuZFbR9bw791t/9zbSLbRUPXWjZhT1tuHUEPpk3JxBTYqJ8NLlVQvRjYuloLfIAmrT1YJDN8rnNfhcfmjfEHB6cL/35kPqZRfKfsHpE/Om4Z6OpPBaqCWMhR3VAqGrdBuu8nrGm0VhmEf74VDsg/vaqM0vXantGQQkbATr+4ciA7yNy22g3G4ChxD61uBXKD+Xrx+CD/IO95bRIClFYFTE711U9bGzuKOmml0Af5w9IKRaMkaiSz0q8ffwkifUTfs70e3Mb4Q+KM4LfS92N4Z5a1e83k51XA2wFIcfCumtFwE0BOWiISQ2pSmE/LxmZXeX5mHonVQMtBw5Mh870jLKljKlM11+3UPQuO+uAKCJO4G8s1UQUrfsaUg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB4523.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(6512007)(38100700002)(66946007)(2906002)(66476007)(38350700002)(66556008)(6486002)(2616005)(8936002)(6666004)(86362001)(44832011)(4326008)(52116002)(54906003)(316002)(8676002)(4744005)(956004)(6506007)(26005)(508600001)(1076003)(7416002)(36756003)(5660300002)(186003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7rCkHK1m8Dz+niMpgovlxXnTKkaZvJ6UIRPOd0SshK/pvMIzCkSAySU8JrQ1D2GuuXMSYe8ClouAuyqtiNm4OYp2OSov8xFo+WCgw/4450AvZceBWp8nHwiLOM7iZ+2a6XJRPfgy7+sU+hy7Mx31M4DNl5Mmudmyk2DkWipeDJbq2ciQfIID7tyTIACrGpRzlcbWJ0SolbUuR8zvHBT5xo1zgIbw4eQQb95FwD+TbBFL8a0hiINwqgVTPBWqjDD0lYkM/ogld3EpbWBVlxykZgyZ9PjY62+NMI+hhrtYVlsPp5ofLBWY75ZfNaeo3L2NPxypJGQ0og1G4SGKbEcBvyglGX7Z3FFBnajx16dGHA0UPtjPqqvZhp58ppBHV4guHLqWSKIKVzUn+WKp/u1hgc2Dk3cyi1d/g6tPXmZ0bM4wdzmwSgd5+bGrsleiM2JYHe0R9EF0aH914+86YzSDx3/NPFmj1KHOMEt7rSotImc/zk+4++xSUSOgu77dwSUaSo4tqrtwb5QF6+Bk2Ev6BZ0zEMKkryCTqAreZCRi4eCykQoKMk90iTTdU/9KWORozZxsobJZFkpcC1a9RYlUAfj68My4jEqm37v5YJ3OG44iCjVyfJeGCZidkHFtDuHC7JX0a5ZBzRUDcI2QqF69gk93KonD+nm3X5qJPBWKL75lj1AWvPOJxHpQJIE5/+UDEGKOh/aUh9fC3Pvaa5vXqpx9cLggyI+lvf1/ydKGjFDygacd2BBi/DxMrqOt5U/ALpA+WIxS0kX2UA7CSPcJJFgn7fNi7pnIwMuudENCLNMspURKBu8hSrEjNw8sSgf94rbC+EpI1IIzYJr8YKdxgl2lItrsBrT0NRh10licN9hPQNEaFKIMLFqUm0lexWxF/k+4OuUfMhKUZNeFFG8ChUgvdlx3/ukWzLRlccm8G2y3Eau0XKIHUtNZRYlJFxpWXwq2qKMuEky4IEdmHAk2z8DNj+YGF3vBSZYraHJjEK3O+UJRADIQJJINtNiERjVXdvqKnUgUgm8qFaY4wotA14Ko27jbKee7c/DMr9fWFLzAbNCL3SIH+DGQT64qx3Wg+oDwx9bhJ4eus3ijjntcrwDn3uI8gfaY86HBVoLBe+JfbiE0XjXjiagpYtM2VcI44ibcnEhh7M1ikbH6oSZfiYLFEM9Y1gIOBet22k1iWoZzPAvuOa1mKLKnxuLAlCTEMm94FV2DTK3jdfM+NVf3pwZ/RrBkHTPUBujLxVb/cYC22HhM8j5WPBH6f71oIbESvK3DqJFZTy+dAZ1AFSIBVnPRgJlBNH790uFOU7lXuKGaOp09cQl0sa+x8jSnxLma X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: f046c3f4-0563-47a9-b809-08d95748be18 X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB4523.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2021 13:06:58.9777 (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: 70Is3i6Rr/eAQ6F0h0eMilIMBaqYAAyWzD5GSM0CCTr9+dLRtYFQMVtxzgRZkZw0OujcTbog5oR6brJd/zj0mqujPVpH4XFEm+4FNx2HkH8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3723 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210804_060702_946402_2F5A3203 X-CRM114-Status: GOOD ( 10.62 ) 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 Signed-off-by: Michael Riesch --- v2: - rename alias to match convention arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts index ed96f27c64a3..c4da6436059d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts @@ -17,6 +17,7 @@ ethernet0 = &gmac0; ethernet1 = &gmac1; mmc0 = &sdhci; + mmc1 = &sdmmc0; }; chosen: chosen { @@ -353,6 +354,20 @@ status = "okay"; }; +&sdmmc0 { + bus-width = <4>; + cap-sd-highspeed; + cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; + disable-wp; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; + sd-uhs-sdr104; + supports-sd; + vmmc-supply = <&vcc3v3_sd>; + vqmmc-supply = <&vccio_sd>; + status = "okay"; +}; + &uart2 { status = "okay"; };