From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 125F0C77B78 for ; Thu, 4 May 2023 08:44:22 +0000 (UTC) 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:In-Reply-To:From:References:CC:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Zy6jRhAWauIeXG9jvHc1g+QaurI8mpv4sZNQAqDBc8k=; b=TzRwiQI5O9eW0M DUFOQ6JCb+BYJbmv0u5xEdc51cV0gpBw8CMhFRZyv+yYSfoBE5ZLhunjDyMXy5zYdQVsuy6ttrDl+ SFj1VCn2DP5WQr/kpLh8beC1xsrtVx4WP3iKd++jLSPQaW14Z7abbE7QM5S0JOzP9eu/HOpzXp+Cg UTMWidIcAtBE4gPaKsuiXII0on/wWG3Qa21ACKcV1GctRLaKagR1ZFk5HEMX3LTDMwlzCSnKerr4r VHugYq5V8h0z7DM3tCF9QNbXLzx9fbh0t9k/Yee1iTufaEufqW7HVvpiWsSTBUS5/UjnK60Zc4QWU Aejr6lpTBb0L02c/RxPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1puUZZ-0079Qh-1s; Thu, 04 May 2023 08:44:21 +0000 Received: from fd01.gateway.ufhost.com ([61.152.239.71]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1puUZV-0079P9-1m; Thu, 04 May 2023 08:44:19 +0000 Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 685EA24E17E; Thu, 4 May 2023 16:43:41 +0800 (CST) Received: from EXMBX062.cuchost.com (172.16.6.62) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 4 May 2023 16:43:40 +0800 Received: from [192.168.125.107] (183.27.99.121) by EXMBX062.cuchost.com (172.16.6.62) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 4 May 2023 16:43:40 +0800 Message-ID: <5adda0ad-965c-fbf0-878c-9d41d28b5c39@starfivetech.com> Date: Thu, 4 May 2023 16:43:39 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [RESEND v2 1/6] dt-bindings: power: Add JH7110 AON PMU support Content-Language: en-US To: Krzysztof Kozlowski , Conor Dooley CC: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Paul Walmsley , Palmer Dabbelt , Albert Ou , Walker Chen , Hal Feng , , , , , References: <20230419-labored-camper-644d51a7ca96@spud> <1a5b15fa-4f20-51c2-2ba1-a04a2911a694@starfivetech.com> <20230424-baffle-punch-ec73098f2b6a@spud> <20230425-unquote-eligible-09f743d81981@wendy> <68cb565d-bf39-10b0-9e3e-35ba7f54b90b@linaro.org> <0988495f-b87a-7f69-f222-37c67d6eae23@starfivetech.com> <20230425-resale-footrest-de667778c4fe@wendy> <663e9933-b9b3-a48f-98b6-2207215a8ed7@starfivetech.com> <20230425-commotion-prewashed-876247bed4ab@spud> <0b0f9187-ad6b-a1d9-6ec4-beb8989ca731@starfivetech.com> <3ed72340-accc-4ad1-098f-4a2eb6448828@linaro.org> <482e812a-05dd-105c-189c-e926b4be9d28@starfivetech.com> <089e24d1-588a-4a56-f00b-0b35d1d99295@linaro.org> <1ac26c1a-1726-515d-6598-849a07ed0b86@linaro.org> From: Changhuang Liang In-Reply-To: <1ac26c1a-1726-515d-6598-849a07ed0b86@linaro.org> X-Originating-IP: [183.27.99.121] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX062.cuchost.com (172.16.6.62) X-YovoleRuleAgent: yovoleflag X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230504_014417_906248_15F69B94 X-CRM114-Status: UNSURE ( 7.32 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On 2023/5/4 15:26, Krzysztof Kozlowski wrote: > On 04/05/2023 09:20, Changhuang Liang wrote: >>>> >>>> Krzysztof, >>>> >>>> I am confused about what to do next. How to add this power-controller's >>>> node in device tree? >>>> >>> >>> You just move power-domain-cells up. >>> >>> Best regards, >>> Krzysztof >>> >> >> Like this? >> >> aon_syscon: syscon@17010000 { >> compatible = "starfive,jh7110-aon-syscon", "syscon", "starfive,jh7110-aon-pmu"; >> reg = <0x0 0x17010000 0x0 0x1000>; >> #power-domain-cells = <1>; >> }; >> >> If right? I will tell the syscon patch's owner delete the "simple-mfd" in aon_syscon node. > > Yes, but your compatibles are now wrong. Just compatible = > "starfive,jh7110-aon-syscon", "syscon". > If compatible = "starfive,jh7110-aon-syscon", "syscon". My pmu drivers need use "starfive,jh7110-aon-syscon" to match. And my pmu series will add this aon_syscon in yaml and device tree, so the syscon patch's owner don't need to add the aon_syscon in its yaml and device tree? Best regards, Changhuang -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy