From patchwork Thu Aug 5 12:01:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12421047 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,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 1ED35C4320A for ; Thu, 5 Aug 2021 12:01:50 +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 D89EE6113E for ; Thu, 5 Aug 2021 12:01:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D89EE6113E 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=UIjLVa7qTnF55ss5shY1O+ltB/5nCSAmfBafUZSn8zc=; b=R8M9S4Dknu/bud gAPnWR1cFx3egyNCbi4YdtYsglshfeE0KWP3aJa7+Tu2BTwmSqziOnPRa2zhYawLdKvN0UvZv/ZYj Sgi708pE1vohWjLhTUlPVNoyP+V3TunRiNWVww2zKqs4PgJo9U3Mi4xC3VUU1UO1kkhhepNU0DJgN mu34Exd+VTplE4C6UM7/0bS0DX0Xs0VLaUBRFXWsSqP+zAMB6G/QHWDjeV1zTqXHRLBvrLTkK9Zyl OKbysNLsuctTdNyNWiwMJNyvDkQ+qg3KI9jEeZ1TWMz16KleMgv9jU1+TKdNnva35lVdt54ADq+9+ MaHtocAHRQXTyS0fmYhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBc4I-009KeM-2y; Thu, 05 Aug 2021 12:01:46 +0000 Received: from mail-db8eur05on2078.outbound.protection.outlook.com ([40.107.20.78] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBc42-009KVj-0a; Thu, 05 Aug 2021 12:01:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fWTeH/9hLFzd/Dx7z+xFkrK3s+seIB1z/RCfy3rmUJducCwuwnbu6PuCuvbm8GfKpHYBIZOa2CFLau02Uu/O3q4UtkWaAkwfIzRA7Sj5/MuPgF6MJ7kAE75QEBqYW436le8r/xLBnmF/j/7EHKpVyUJKioNKWejp9uQGjWc+zNWX90rPCdyFiTPM1a3Zzv1PlJWkHFLeUk6qRGqDXaJleFivvbYoVqLsrG9IwKfu/K8KNDC5S5Dn6lp67v1l8taPni+CouBlakYdRiCmPEsVlq6qZ3UxB57RlUzYVL/t0uu7Peb8/eJDCi2Q/qrNPJ81CdjaKx9r3cl3NCRS6J/1vA== 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=xgPrtAKvIr0Sj36Daks0th7gyBNOeuaqo1nv9a8DuJY=; b=lgxQ6bC2TnxGN0mRUoJXw8QHROawVUzOso1cTmRxODqWReQCw9uu/zYkr/2mf5i/xwPUGwrE9jYuolekwrXQjP2T0V8Dsa35zDkRF5O6RQxZFRtk6BXFuEeDzyb23CrKggIWX9lyhawFnWq7ZdK0x5ZIdi9RrbsY1PHNM0pES05wH55MARrkaLCbe522FB2RdYcDuuyAWOgexPrK05lTuNUnBn2KgwWrBkAWwlVnkxQ5TwenhK+UemQ2/fy1ubGEQ7T9QUi/jkzl6uY8jX0gI1B9XYVqDe+C/7wR+2Ofw4El6iMK2Q0mLQ8ReOUBZpF+FIBxrY/V+oG8F6Dm3HrhKA== 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=xgPrtAKvIr0Sj36Daks0th7gyBNOeuaqo1nv9a8DuJY=; b=zZBPDSpkbwbgtV7Da7ikWC6wXduUl6AQlbiap2y19pnmugj/SP3uG3uFSUFLutgQARMo6Q09bSvW8mhTAMCLJa1kmMvxjmO9TEt4n27At4PKq1xy2LTWnx2jH7RmK6/JKj3rDK0/Jxmq/y1Pd7+viB5xcDaQtXhO2rkooFtGRaI= 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 DB8PR08MB5419.eurprd08.prod.outlook.com (2603:10a6:10:118::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15; Thu, 5 Aug 2021 12:01:24 +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; Thu, 5 Aug 2021 12:01:24 +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 , Tobias Schramm , Johan Jonker Subject: [PATCH v3 1/7] dt-bindings: power: add rk3568-pmu-io-domain support Date: Thu, 5 Aug 2021 14:01:01 +0200 Message-Id: <20210805120107.27007-2-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210805120107.27007-1-michael.riesch@wolfvision.net> References: <20210805120107.27007-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: VI1PR04CA0099.eurprd04.prod.outlook.com (2603:10a6:803:64::34) 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 VI1PR04CA0099.eurprd04.prod.outlook.com (2603:10a6:803:64::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17 via Frontend Transport; Thu, 5 Aug 2021 12:01:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d10bf73f-9ce0-452a-fb45-08d95808bf3f X-MS-TrafficTypeDiagnostic: DB8PR08MB5419: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pDzhTEl6+dHKrSsoZlqHrBuD1Ut1/TTQjQ+VwWQ0d3HdDZElqCpuPcmoN98dqIzOBs/8V7apYsGf2/5Bi/XefhKFqeDKCIfAnGZ7YvcnDuqqnf6cyF1QJvXBjLe9vLeLBRdxuEX6UvsP7ZoFEEbSGahUU+FEv8tkMcdEYkFmQfnPJrI7aWxlznjQ/2ixvEzrDaHPpiHoTLUOPqxRuOd4jHetBWjDAs1zjM5IHzKkxC9aAPeBhpL7N3s4x0azSRW4Ymi5jYrbfhpWwDFkALvxiTf/FRlAMZ1qBik5KNJIDJ7yhQNLZoSuL8ZGT3modtuZTX6kbg+kvr+wTrrk//85C87U/5ZNUMPrMCF3xDouis0dDNMrUQ2+t18PCXypX+lcSy2jnENIaT7eBS70RiHtecqRoSuyenFq+eW70JNizky0Z6CAC8WqYCUH2HgByJkWBJ5lkpxE1xwY6+bPuq7FytZsz41ivwgasrEtqXyAEYVGDCcKyPNXOf+Ml+CxXMRtQY/I91dQTYMU88N2BoQKiodF7rHW3exlxqsEg2ahPA9SuxX4cyHQcvVa1wUEfdmS7vyjCuMcx8zV3fzSw1lvQAqvWZ5wtyTRUGuvxDUeJbz4xHO6ajZxk3OhohajtAyR3XCaulWp9N0DP7hekzOKnC/MqftfRHw3CSRF5y/Y8S4w9axGq8rkWEdTpG1nsiJBUrieGuaurdlsEE4Z8RLLQg== 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)(136003)(366004)(39840400004)(396003)(376002)(346002)(6512007)(8936002)(66946007)(38100700002)(7416002)(66476007)(6486002)(66556008)(52116002)(1076003)(2906002)(8676002)(4326008)(54906003)(478600001)(44832011)(316002)(36756003)(38350700002)(2616005)(6666004)(186003)(6506007)(956004)(86362001)(26005)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Y18M0bLRdu/JynVHn+8gtGpGndONQ4sxbBSvyZMHbKTomxMmEBWYhCVsuj1iw8iFOnt8s0DC/YcsTVloSWSd38Fwef9iHWLODSW7QfapjFqCkiwiVMeycvfgPNfbndwuaHb7SuEvhNLCY9rK+xPvLGy4YlVC7vvO5Ceb3e/pXzn5BdDwyozMs3jb167ZRN0+2mVz9raQRXuosqGtcM9Otjk68F3THZPYcPALOze+nUQO8kGW1qnn+UWx2MUtX80/HFrxinxfqJONvgUm0YKAI5Ye4AROk9kITwKQnhVv96Tpfy8jW9lkZb21YH1XS/U7RD6iZsswJXMGinlFUmCCWwAH8IGquQFgh48vmjwkq0v51d02QbpLRj5CkY3IREgJZq2wsmNDo7yHZccNLcyWaJNpyV/+3K1wcW3qmh40o+S0WPmq124GUlJKCLtYRdhG+EK6qbWpRNJYnJqkVlMFaf7FZdOfxIkQtRWo1mRyfH13L8W483CWl0MyNWm79DHwc9JFtJBwUChjblYpBoRsFdCp9Y6qidpiFFYPNZFNdCFloQjiVM7yj2HzcS3qoBaX4+WOjGubxWd/iKqUqKmblY/yrJ9DRakVjtP2b/eO5kfLe37IPKDvgOEnxe2cPo9qupuXIVy8zAv6RN1UIN2CZ99IvV35RgPOAd4RWmKe0+fArvPjewfAuJqFBd03uAoW2nB0CyzklKfHDZTDuVzdkr+kBr7QKCXlfJZEtd5bsHnTLJ7CgGeQ2wRtCvNtqQ+rnF09rkP5LNBWCh/iJZq7Sd0GwXJ1HyoG/2VP/5wA1yIZI6D/Fsl+gWa7oqKD5Ad8PkIY6qMl/y8Sguc3elLhJgZ+X+L0XWGjoJGmDwVlQl+rEWqEnaxthxZO/ZczAWKdJf3u19tG75VNkimg5Hyh3fsfvBwH3xQ8jkNT7nOxg+vNa4T7SVQR8LCl0lydWqfXh5AedQCIV72Prar4vC8YBXBqjB3ndFgPkceMLMugQ7jIYGnjruV/ToQt1TWNVNjAa1MHcoA/5YYAyqhSxMKJFtOiC2MRJ8M3Pg1Mf0lOXNKnNM2Z7IVOE3AqE2ow4QQmwP0vJ9QSG0VZGTPR+mGDBoOOWy6zhajAtokz4eTQis6SRR3614pqRnQVfncsUSJAzBi25CckXUNLI6kmXYGkMZwp1zW5bexRd1JgNVqLhyYkiP0kjyKt6RWy/J4fae28TEIxVwiVNapU/9MCHj3VA597JqMexWQheX8pYjR29EsDY9mpjrrbLPssswytV6Q9bGzG3/g4EK4PNWOxQ7Il02GLwjp2MvJNebtNplwjcQmluCW3F9ibp5HRRtEmHjIh X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: d10bf73f-9ce0-452a-fb45-08d95808bf3f X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB4523.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 12:01:24.2619 (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: nqsuTMkvJktS852smNCtXkpbhXtUatLrIj4LpbTJ+5fYYtSbM6yNqObm+RAgvwOQ0+1tPEA0HRTEAMQRWJv7V7vxlqhthBlYWMcXEEZcirk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5419 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210805_050130_085193_02B8AA6B X-CRM114-Status: UNSURE ( 9.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add binding for the RK3568 along a SoC-specific description of voltage supplies. Signed-off-by: Jianqun Xu [add soc-specific section] Signed-off-by: Michael Riesch Reviewed-by: Rob Herring --- v3: - add missing compatible for the rk3568 to grf.yaml .../bindings/power/rockchip-io-domain.yaml | 30 +++++++++++++++++++ .../devicetree/bindings/soc/rockchip/grf.yaml | 1 + 2 files changed, 31 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: diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml index fa010df51a5c..dfebf425ca49 100644 --- a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml +++ b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml @@ -208,6 +208,7 @@ allOf: - rockchip,rk3368-pmugrf - rockchip,rk3399-grf - rockchip,rk3399-pmugrf + - rockchip,rk3568-pmugrf - rockchip,rv1108-grf - rockchip,rv1108-pmugrf