Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp237277rwr; Thu, 4 May 2023 02:07:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4YBimPxh8l2zjxDtMWdSCNo0Jzm0w2V4dUB90PyjjwZmjBAs5f2NXTrPMM2zLGgT3SEhx1 X-Received: by 2002:a05:6a00:2281:b0:63d:45f3:9fc with SMTP id f1-20020a056a00228100b0063d45f309fcmr1743830pfe.5.1683191250525; Thu, 04 May 2023 02:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683191250; cv=none; d=google.com; s=arc-20160816; b=ixnKk/5sQK4zEJv47SwrpQN31FaZQBOIp3iZntKHHErr9BcoF16CtzS2ibBg+I6y0S OLSfYklzWPjG+jRga3lKELlE+kptLBtFC7m7WhJVEM/xzenn+R98raVzNO1XZpC453ao jMwymJ1k/N1p8veaoXnXPIkRc8d1YtHjH/jQQqko4Dg/sfPnpXa2Pon6+LQ4++cw1g82 yIHA/fWr3Dso0hq+ss/S7n5GcengWqdEwogHZdRkqq2eH/qpdF4y8ECa92Lkqbc0yn+S HGnal++qL+I2ozU2pnPsemAnKWgXkokHkeKbexLrG66Tmsg/SOb8zJGdEVctTWpykHtg CaHw== 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=GfLllHDPc8K6MSINoEM/dqCHkW6Je5V1DbdeByAjLfE=; b=xiCgW1bswhNfdgfisZXeNfIQomRML6k3A2IunAHEktg5+4cJFoBUDTXipbs9Cbg4eL FR6+k/ilgh5WJP2XOUGyew4BOSwTINrtmd2TN5QEV/x4kkK7aPk5elknDHJiHXcXGWB0 uU4YmiPLhEt6oQkvL1zg4eUqdFl5ltyY7c+VRsHmeNYneAV7+DSnJSuD5hCdrRGo34nV jrTVpqD8OU2TQDEjTijmweyAKb5ZJ3JsqGYXLK0fqa2wkFkOD35ZdD0lALNGC1a/nZPE kQ2jKG4pQGyLzrnAyM+47wmLni9ZJbyxTgW9WK6CQFDxy9TE8wGlZOwE/WMz0fgruB91 7YHw== 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 t189-20020a6381c6000000b005288509b88asi20669160pgd.681.2023.05.04.02.07.06; Thu, 04 May 2023 02:07:30 -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 S230001AbjEDIn4 (ORCPT + 99 others); Thu, 4 May 2023 04:43:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229545AbjEDIny (ORCPT ); Thu, 4 May 2023 04:43:54 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F790E7; Thu, 4 May 2023 01:43:49 -0700 (PDT) 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> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_PASS,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 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