Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp269849rwr; Thu, 4 May 2023 18:54:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5MIcwoMdgtXynFEwAMyfElFlpOKZwMWxunAGqfsTjZekkWkJWf7dG/V1CjnIwjFoKUVW7m X-Received: by 2002:a17:902:eccf:b0:1a6:f93a:a135 with SMTP id a15-20020a170902eccf00b001a6f93aa135mr6935049plh.61.1683251689210; Thu, 04 May 2023 18:54:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683251689; cv=none; d=google.com; s=arc-20160816; b=wJqIB5y0glGm4RvqkvKwwGi64OCCqLy6WKC/0Ny4Oh5Dg8o3fxucf62j4ypZmsYZvi gQRYZ1GfQ9ts6JtREWVpFnSDVNFNG8g0WstqhJ9Ahjb+Ar4lNx3qh7ydKFUhsLbNad3F rL70CP1MwPpIgLEmS0+X/Q5Xo+IUx1PbX6a0a7jsnOIQdAlqXqrt1PuDiSJlvU6BuF5h PeOQevgM6cNxN9jc4RKGlbffyC/UzPgi9R7an/DQPrWKQQ2u282wn6uXGarzinJD1GoI yqTzCMvh/Bvw6kdeaQLq0u6ZaCA13Ds6NAdJngNMfjRCPPJyBU5R56FEjk1qGZL9cd/o /vmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=rJN6DfxPB+L0Zeio6iFpqHKtVvqkbq4owBUGUtUazdk=; b=kH+s6rPyBzzV+Et+1iNHsxwctW/lsIs6Rk18nOspbcEZImNAeMb78wfw8SUlL1oyzX YNHn2yP3SAXONUZyG0+8eE3SaS6PYbRFezx+Z/MSeBC0L+58jBc0NUSwBj+zVXlScQLI Cpm6A1/++RXofqiDjZnPI+iW9QvUG1jBRTmmAMZglr6WueN49DRZE6CgIO4qpPm7NeNJ 5SwjGvRVZidHLx+zGG+QN0Xr9wEOBHKCqBTjlX7JuQaS/Mrx8wjIyiFitXpJBcxZ2tlh m7swARrvGT7jGEgGFAgdfIk4+OP4qSjJhW83ly0spYG3YmDzAdYe0iFTiMrA/xuFf8rO u72A== 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 o7-20020a170902d4c700b001a94b91f428si534953plg.319.2023.05.04.18.54.24; Thu, 04 May 2023 18:54:48 -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 S229892AbjEEB32 (ORCPT + 99 others); Thu, 4 May 2023 21:29:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229751AbjEEB31 (ORCPT ); Thu, 4 May 2023 21:29:27 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 806DE83F2; Thu, 4 May 2023 18:29:25 -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 1593924E1B7; Fri, 5 May 2023 09:29:18 +0800 (CST) Received: from EXMBX062.cuchost.com (172.16.6.62) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 5 May 2023 09:29:17 +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; Fri, 5 May 2023 09:29:16 +0800 Message-ID: <2f473307-2219-61a4-fa66-5848fe566cf0@starfivetech.com> Date: Fri, 5 May 2023 09:29:15 +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: Conor Dooley CC: Krzysztof Kozlowski , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Paul Walmsley , Palmer Dabbelt , Albert Ou , Walker Chen , Hal Feng , , , , , References: <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> <5adda0ad-965c-fbf0-878c-9d41d28b5c39@starfivetech.com> <86693969-59bf-5bcc-42a3-b6e94a0d6f3e@linaro.org> <20230504-worshiper-ongoing-5581e1f2c2c4@wendy> From: Changhuang Liang In-Reply-To: <20230504-worshiper-ongoing-5581e1f2c2c4@wendy> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [183.27.99.121] X-ClientProxiedBy: EXCAS061.cuchost.com (172.16.6.21) To EXMBX062.cuchost.com (172.16.6.62) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On 2023/5/4 17:57, Conor Dooley wrote: > On Thu, May 04, 2023 at 05:48:20PM +0800, Changhuang Liang wrote: >> On 2023/5/4 17:36, Krzysztof Kozlowski wrote: >>> On 04/05/2023 10:43, Changhuang Liang wrote: > >>>> On 2023/5/4 15:26, Krzysztof Kozlowski wrote: >>>> >>>> If compatible = "starfive,jh7110-aon-syscon", "syscon". My pmu drivers need use >>>> "starfive,jh7110-aon-syscon" to match. >>> >>> And how it would even work with your proposal >>> "starfive,jh7110-aon-syscon", "syscon", "starfive,jh7110-aon-pmu"? >>> >>> Try... >>> >>>> 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? >>> >>> I don't understand. But if you need to drop syscon, sure, drop it. >>> >> >> Yes, I think it can drop aon_syscon node in syscon patch series. And maybe my >> compatible = "starfive,jh7110-aon-pmu", "syscon"; is better. >> >> aon_syscon: syscon@17010000 { >> compatible = "starfive,jh7110-aon-pmu", "syscon"; > > I don't really understand why you actually need to have this compatible. > Why not keep "starfive,jh7110-aon-syscon" & register the PMU using a > software mechanism? > But if keep this "starfive,jh7110-aon-syscon" compatible. Which .yaml match to it? Use this series dt-bindings or syscon series dt-bindings. >> reg = <0x0 0x17010000 0x0 0x1000>; >> #power-domain-cells = <1>; >> }; >> >> Best regards, >> Krzysztof > > ^^^^^^^^^^^^^^ > btw, your mailer is doing something odd with quotation. > OK, will pay attention to it. > Cheers, > Conor.