Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp264668rwr; Thu, 4 May 2023 02:41:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4GMNsavjqqCJ2UmRUCun3z+gxIjkEgCV7HmHUcwVZXze/cmids1Sek9HNrh66AQ8nldgHH X-Received: by 2002:a05:6a00:24d0:b0:63d:a0d:6fa1 with SMTP id d16-20020a056a0024d000b0063d0a0d6fa1mr1861755pfv.21.1683193280461; Thu, 04 May 2023 02:41:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683193280; cv=none; d=google.com; s=arc-20160816; b=gSpPVUS5w5V6UxxgSaT9yrHdwn0FFMUdkgCLsZDDCgAYP1SNDYvym7LidrDTYY9LBx 107pahPMCCf9diet+I0TFCAyZEVU7pnnEJbu7lE/akGvzd5nrIJQrWVD6lnuNuNHEEgY C8SdCF8AeVe0kyFP6u1iBaMKnwPrOe3DG/wOVoMHi0l4wwdEBaxJ14S92B7ov/bC0g6W zTqxdrNBsxr5wWLT882z2C7dBxg7CWHN0a1nc0f257b3gVJTg5pdChE91B4Vl4/Kkb0N bbdYRMyC83bgQp8K9Jo+nOFXVSOZWKIMz7tgyZnYPtOGheOZNV/x7wVRd27J40AA4L2c Db6w== 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:dkim-signature; bh=mRcoOC8fngP6Il2rAzvXIOhnaTFot/xB1pDV/8xXBhI=; b=p6FYOTaJWV3jK4NZLHzgkAj8W3DgKUr+XG7OHckWL6/iJQFWDJygiek3OHgy0buHuv pwmIyEcSTlU1e2GuSTlPQUhMA9wUYTPHXi2CSPl4tiOoOaXTh44i/h3LzBxdQ6Rmev/Y 6x6Bp7U1ns2BB4BKg3SaZBmSIrKQfnc+ENUN+Yp6grMY2Y9vH7X+NZ5YB44wyQk2jmWA 3MERv1/YcTrX04CfOWlCc9jVAgvItZbE66TtNXJvZlbRORRbSYGJOMDNbdhG9unZ/5yb tBNuPL/tsV4/tkrkxrXQ8vTRmp/CtA6OkGuwpeTbNkuLNOB76ed/pgPkVtifpI965i36 NFNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MM3fLTuv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w7-20020a63f507000000b0051fe610ae34si32888623pgh.451.2023.05.04.02.40.44; Thu, 04 May 2023 02:41: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; dkim=pass header.i=@linaro.org header.s=google header.b=MM3fLTuv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229930AbjEDJgS (ORCPT + 99 others); Thu, 4 May 2023 05:36:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229836AbjEDJgQ (ORCPT ); Thu, 4 May 2023 05:36:16 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDC1F49C0 for ; Thu, 4 May 2023 02:36:14 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-94f4b911570so35438066b.0 for ; Thu, 04 May 2023 02:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683192973; x=1685784973; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mRcoOC8fngP6Il2rAzvXIOhnaTFot/xB1pDV/8xXBhI=; b=MM3fLTuvY1THuF+Jes6bTaFgdLgelBxjG9Qs0YrJ62r2rXYT0XrFa3z3syIzosle/b ndQzUCfwxP0iURGIxMkTVDjBIChW3aQKQa5lej+0hWz/zOU+BYcZpLtkfqufI9lhZ7es qhlX/+ZSVEuTfyzLRaTd7wSuwjcjxrMHgq8WR24DyKR0x1kNqmw1BPJywXnPdZSaw/uQ v66XZknaiYzEr+EDAw3mGYpAzFgZ8hMx+Krhne2k4sav+gyjx359mGzZ3ot1qt34/94A ghRo/Cb+pg7QBb8ZQd8FiQIU4dfjKh2kVt6C+eOHJNmtQ6FMaiDDLxp2MrDt/PzbP4MN 7bgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683192973; x=1685784973; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mRcoOC8fngP6Il2rAzvXIOhnaTFot/xB1pDV/8xXBhI=; b=PdMxk/o+EnsATPuVSTWrwNX2iEZTT9KAtYoZTsS/m3IpNT83mIg60QiSpbQyKWxUrg i9hXJyerWr9C/y/8sJjMM3IKglzJDSgYLb7yFEpe2VonkANM7QZ+Hsb7QysDOPhbcea9 vWh1MDuC3rqWhKriwDYr56iWLDfq4UZ7fEXVcmIbgUMFsHoTnFqjLcG4xBbJGMgGcgUg SnqdXg3wYa56YacS/56Kov1B2YS76a7Epr0t+b+oGpUqDY6rgB6lRNjDcoRx2enGl2Xt 362qe4FOLoesbPPq1cHqye+3YI2fEWTvEcJikDfJV9jQ7ONrY9TIJmbAs908tLJXG1yU gIzw== X-Gm-Message-State: AC+VfDw4Dz4lUyVE9AimzaW/4cw5ukLmh8ntVtSkmEEvUdxaYKaA0Jn6 WGtHBuo5uiQ0Wl1Q7i85TR5zPQ== X-Received: by 2002:a17:907:1b08:b0:957:1df0:9cbf with SMTP id mp8-20020a1709071b0800b009571df09cbfmr6548125ejc.19.1683192973372; Thu, 04 May 2023 02:36:13 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:cbf1:e7ef:fb81:e912? ([2a02:810d:15c0:828:cbf1:e7ef:fb81:e912]) by smtp.gmail.com with ESMTPSA id sb21-20020a170906edd500b0094f4d2d81d9sm18480946ejb.94.2023.05.04.02.36.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 May 2023 02:36:12 -0700 (PDT) Message-ID: <86693969-59bf-5bcc-42a3-b6e94a0d6f3e@linaro.org> Date: Thu, 4 May 2023 11:36:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [RESEND v2 1/6] dt-bindings: power: Add JH7110 AON PMU support Content-Language: en-US To: Changhuang Liang , Conor Dooley Cc: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Paul Walmsley , Palmer Dabbelt , Albert Ou , Walker Chen , Hal Feng , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, vkoul@kernel.org, linux-phy@lists.infradead.org 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> <5adda0ad-965c-fbf0-878c-9d41d28b5c39@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <5adda0ad-965c-fbf0-878c-9d41d28b5c39@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 04/05/2023 10:43, Changhuang Liang wrote: > > > 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 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. Best regards, Krzysztof