Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5094054rwl; Mon, 10 Apr 2023 23:51:20 -0700 (PDT) X-Google-Smtp-Source: AKy350ZfkoxnJowOfGCZtjqBA5A24u6RH/NJ7qsGbZk6V81217IVfEycYE5I5wm5Y63QyGyaqWLU X-Received: by 2002:a17:906:9b8b:b0:945:5510:2b9f with SMTP id dd11-20020a1709069b8b00b0094555102b9fmr13983271ejc.54.1681195880595; Mon, 10 Apr 2023 23:51:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681195880; cv=none; d=google.com; s=arc-20160816; b=K0ckeijZQ66Oc3wxotYNwuQZ7lBe5lVrLn2M4foXbGMmxMUlyNVepMxzJzxKckISgo S7nomgLaC+stTPocgWbob69AGeUFe7o2mMZqzV+wLi2d+neoNuiVU1wZBy5n8KUAhivx 5oNITn2HfPnmI5fNv8wRohNOQLaQwMrIR60k5x03XKgf+8BrGZ//K5db6Oc51tmTQOdr b83+zvyxo91Ws3kq7rbZ2jI+ff/0eK3kLd1T4Wu+eG6dJGL0Unn2tc9UqaHNNq+gBcjT 2JkwH+Gz/eQxbcjPnYcq17whQ62I4GSPbqhk6hdLEcZf8d6ZjDDr7leESAUvj7DKPM3n iWeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=H9VJ+fVo1Q+3uq6jt7Z+d4L+b3K4L/AEyV04fDfUDfo=; b=tlCoyo97Gr+qdfIeImIqiF7rosMLbG7Zx+19X1LxhkztLFbNTJrkcrEYts1B9f1h9+ JB/wBcjsY8CiJXsWXL4yXifW28ti3Hv8hQY1TTc4lqmwWyKKllwOvNQFSEk36SiG8oA9 3nls6C8I/CQBLkNXMTJKprrFn8PgWwxoxZi6FAU4lc2zt0v8FO/9O/S7iLH4wDsUhPbb 4otm1ZdkUNuLM7lCL0bxQtEhwEpORqztoNokGOCkXuXjDj6MUafjGBWxdXXtcJp5Ewfp X2XAoFyQFS4frBYRYZjH5pvSHZIaI+yF6kQ+wx+HXTzhOG0cobQtngf60ky/1j7Tda1Q O/OQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr34-20020a1709073fa200b009332fd96debsi1738029ejc.166.2023.04.10.23.50.53; Mon, 10 Apr 2023 23:51:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230295AbjDKGsT convert rfc822-to-8bit (ORCPT + 99 others); Tue, 11 Apr 2023 02:48:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230225AbjDKGry (ORCPT ); Tue, 11 Apr 2023 02:47:54 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40183213D; Mon, 10 Apr 2023 23:47:51 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 08D6324E208; Tue, 11 Apr 2023 14:47:45 +0800 (CST) Received: from EXMBX162.cuchost.com (172.16.6.72) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 11 Apr 2023 14:47:44 +0800 Received: from ubuntu.localdomain (113.72.145.176) by EXMBX162.cuchost.com (172.16.6.72) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 11 Apr 2023 14:47:44 +0800 From: Changhuang Liang To: Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou CC: Walker Chen , Changhuang Liang , , , Subject: [PATCH v1 0/7] Add JH7110 DPHY PMU support Date: Mon, 10 Apr 2023 23:47:36 -0700 Message-ID: <20230411064743.273388-1-changhuang.liang@starfivetech.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [113.72.145.176] X-ClientProxiedBy: EXCAS064.cuchost.com (172.16.6.24) To EXMBX162.cuchost.com (172.16.6.72) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds mipi dphy power domain driver for the StarFive JH7110 SoC. It is used to turn on dphy power switch. The series has been tested on the VisionFive 2 board. This patchset should be applied after the patchset [1]: [1] https://lore.kernel.org/all/20230406103308.1280860-1-william.qiu@starfivetech.com/ Changhuang Liang (7): dt-bindings: power: Constrain properties for JH7110 PMU soc: starfive: Replace SOC_STARFIVE with ARCH_SATRFIVE soc: starfive: Modify ioremap to regmap soc: starfive: Add pmu type operation soc: starfive: Use call back to parse device tree resources soc: starfive: Add dphy pmu support riscv: dts: starfive: Add dphy rx pmu node .../bindings/power/starfive,jh7110-pmu.yaml | 14 +- MAINTAINERS | 1 + arch/riscv/boot/dts/starfive/jh7110.dtsi | 5 + drivers/soc/starfive/Kconfig | 4 +- drivers/soc/starfive/jh71xx_pmu.c | 213 ++++++++++++++---- .../dt-bindings/power/starfive,jh7110-pmu.h | 3 + 6 files changed, 187 insertions(+), 53 deletions(-) base-commit: 197b6b60ae7bc51dd0814953c562833143b292aa prerequisite-patch-id: 388b8adbb0fe2daf4d07a21eafd4f1bd50ce2403 prerequisite-patch-id: 1117ecaa40a353c667b71802ab34ecf9568d8bb2 prerequisite-patch-id: b00c6b21fbd0353d88b7c9b09093ba30b765f45b prerequisite-patch-id: 08ec9027e8a5c6fdf201726833168c7464a9b94d prerequisite-patch-id: fb5120248e48fe1faf053ae0b490c92507ec2b44 prerequisite-patch-id: 4b93d8d590b0a2abe7b4be5287232c494c35be4a prerequisite-patch-id: 89f049f951e5acf75aab92541992f816fd0acc0d prerequisite-patch-id: c09c4c68af017b8e5c97b515cb50b70c18a2e705 prerequisite-patch-id: 0df8ccb0e848c2df4c2da95026494bebecede92d prerequisite-patch-id: 315303931e4b6499de7127a88113763f86e97e16 prerequisite-patch-id: 40cb8212ddb024c20593f73d8b87d9894877e172 prerequisite-patch-id: a1673a9e9f19d6fab5a51abb721e54e36636f067 prerequisite-patch-id: d57cc467fb036241b9276320ff076c4a30d376d6 prerequisite-patch-id: 6e563d68bc5dbf951d4ced17897f9cc4d56169fe prerequisite-patch-id: 61ec2caa21fd0fc60e57977f7d16d3f72b135745 prerequisite-patch-id: 1387a7e87b446329dfc21f3e575ceae7ebcf954c prerequisite-patch-id: 258ea5f9b8bf41b6981345dcc81795f25865d38f prerequisite-patch-id: 8b6f2c9660c0ac0ee4e73e4c21aca8e6b75e81b9 prerequisite-patch-id: dbb0c0151b8bdf093e6ce79fd2fe3f60791a6e0b prerequisite-patch-id: 9007c8610fdcd387592475949864edde874c20a2 prerequisite-patch-id: d57e95d31686772abc4c4d5aa1cadc344dc293cd prerequisite-patch-id: 0a0ac5a8a90655b415f6b62e324f3db083cdaaee prerequisite-patch-id: 7ff6864ac74df5392c8646fe756cadd584fcc813 prerequisite-patch-id: 284b5d1b95c6d68bca08db1e82ed14930c98b777 -- 2.25.1