Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp751914pxt; Thu, 5 Aug 2021 10:44:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx71Aq5XSItirZ+YSjexH4BCq1NBI06O8BFYVFujEHI/5hajJTV3wjXsVBRfFOehEuPBWQx X-Received: by 2002:a17:906:ae91:: with SMTP id md17mr6061928ejb.105.1628185466858; Thu, 05 Aug 2021 10:44:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1628185466; cv=pass; d=google.com; s=arc-20160816; b=x4txP0vVcTJ7FkRRCn7E1AOdF0f6ET+4kHJXc1ZSvM+0cuDixZW6k9MQkhHPjXTROh BZD32A2l0EpnrBWPRzVwCHVIi9tJ/brwtpez/CIzufzEADkoPv3NUog/ne0D+GevPYww L/4ri5T2dKNUHuuFINgnyYOHvZ+S5QbXTLOzUiKLgs/moNSJ4AZUnz15l8qk2esMSbAc 3eu7lJWeSpwA+9t22A1mNj/jlJ6MIc6ZHkOuaoHwzP8+kVX9AR86ZPq+BwCiXVibj42H M7qymMEUpAZHytkxdUDeziqEY4O/cpzPzGjMu/RShYTzPP4zfwyPiF7TUisWHFsJfC5H roow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xgPrtAKvIr0Sj36Daks0th7gyBNOeuaqo1nv9a8DuJY=; b=rqy31OBOaeoxAYPe+xqu9MfzKhw4yX2bP5uDrl7VGUskzPcW0moSR8VRaVe2dVXmnZ CcOErYhwYpIkrZpNM7QNN1GgfYJIP8J/p8bG3X9MZWAEs5aROTipRNjpRdYcTz7NKUHr YejbMXy448cPwy38s61moEM4GOB1pV/6LQRRirUa9HLU/WyHVO+G6RVHs4m7di/nV1Fn i2JV9gm4Zoedpz23VDBgtIPwztEZa0+pYE49xXV5Igckw7Obal6gZvJBkWiYB15pFPFz tyAPMnTxP7pb+94Fq+Udkq4FAyuP0751VZXbRb6CyYy/zUHeyoumrXUTKv/X5ABSNvrE Ksvw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=zZBPDSpk; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lk14si6169238ejb.559.2021.08.05.10.44.01; Thu, 05 Aug 2021 10:44:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=zZBPDSpk; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241214AbhHEMBl (ORCPT + 99 others); Thu, 5 Aug 2021 08:01:41 -0400 Received: from mail-db8eur05on2074.outbound.protection.outlook.com ([40.107.20.74]:53409 "EHLO EUR05-DB8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S241204AbhHEMBj (ORCPT ); Thu, 5 Aug 2021 08:01:39 -0400 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> Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: =?us-ascii?Q?Y18M0bLRdu/JynVHn+8gtGpGndONQ4sxbBSvyZMHbKTomxMmEBWYhCVsuj1i?= =?us-ascii?Q?w8iFOnt8s0DC/YcsTVloSWSd38Fwef9iHWLODSW7QfapjFqCkiwiVMeycvfg?= =?us-ascii?Q?PNfbndwuaHb7SuEvhNLCY9rK+xPvLGy4YlVC7vvO5Ceb3e/pXzn5BdDwyozM?= =?us-ascii?Q?s3jb167ZRN0+2mVz9raQRXuosqGtcM9Otjk68F3THZPYcPALOze+nUQO8kGW?= =?us-ascii?Q?1qnn+UWx2MUtX80/HFrxinxfqJONvgUm0YKAI5Ye4AROk9kITwKQnhVv96Tp?= =?us-ascii?Q?fy8jW9lkZb21YH1XS/U7RD6iZsswJXMGinlFUmCCWwAH8IGquQFgh48vmjwk?= =?us-ascii?Q?q0v51d02QbpLRj5CkY3IREgJZq2wsmNDo7yHZccNLcyWaJNpyV/+3K1wcW3q?= =?us-ascii?Q?mh40o+S0WPm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Lwjp2MvJNebtNplwj?= =?us-ascii?Q?cQmluCW3F9ibp5HRRtEmHjIh?= 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- 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 -- 2.17.1