Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7449345rwb; Wed, 23 Nov 2022 06:43:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf5gFyUHMEMM43H5GUArUWV0q2gAe72sA8SkgIzAQfPqa6g5C1tAPgcY8dyLKVussQ+lAuAT X-Received: by 2002:a17:906:eb09:b0:7b7:5319:6e71 with SMTP id mb9-20020a170906eb0900b007b753196e71mr10672193ejb.404.1669214599129; Wed, 23 Nov 2022 06:43:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669214599; cv=none; d=google.com; s=arc-20160816; b=GLPwITLuK4nwG2Dn11MLql2Upkj8tI86Mzpg8/G/gNhdvFQxpL3N9p1m9igMLhJfUs Ff24qeIceJAO1riDo2Sv7VdDAPJMH61EJTdBF5nv3MXMP4z/LzRKTWht1kKcjew9LYk0 I4o5rAotMwEFQ8mmY4yLodSeY1rLhJXYJerjUhA8ppzlHrh2YJL//MZtA0zdNhEP5Q7M p1GNvhve/Xwo0BW6TyHBvb94O211LszufSQjkDzGt2zmr6dluaHDiPCqaewDPuvJqCmq 5879gPIjQmEI/PgiSumz+qDbqmCVsj7hSTd+1o2+jEPD9gkug54vKPHrDKmbg8fPbXBt hL6A== 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=8/Gp8oNJZw3cLXUYP8ks4PwvnFzrrxOR4KiPfsrpS5s=; b=APzu8PDml8q8giZ4Ml7Tgio2WSGC3uopV32tJxtlYz4iteXllCNvbaQHZGZktPB2mz 1qaIhcmI/uHSC85fphay2y/7jAYgA0DtAX6i6BN3oYiHM/JMxUjQd3mrTKKRg9fm5ph8 K9G1j844sMHaJet756s9VVjgQqOOM1x/5DAUdL6YptLq2PtoFri1uwu8LeZ/gyM31FTs CaRdblZ1X2NuMjInsm2V3XluP8P3bmak7+8IMnaMNdb7I20nDqIOQdoej/fXI70sFSQb 3JM45QgT7OnztQ4HQA0bbAvoP/9z/MiXeR2139bPOOP3dcdayCGQ71WpQmXTykRaRhHF ffAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Eu4w0mKI; 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 nb17-20020a1709071c9100b007ae2368c8b3si9667059ejc.730.2022.11.23.06.42.55; Wed, 23 Nov 2022 06:43:19 -0800 (PST) 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=Eu4w0mKI; 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 S236038AbiKWONc (ORCPT + 89 others); Wed, 23 Nov 2022 09:13:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237959AbiKWON2 (ORCPT ); Wed, 23 Nov 2022 09:13:28 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F1822D1F6 for ; Wed, 23 Nov 2022 06:13:26 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id p8so28298148lfu.11 for ; Wed, 23 Nov 2022 06:13:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=8/Gp8oNJZw3cLXUYP8ks4PwvnFzrrxOR4KiPfsrpS5s=; b=Eu4w0mKIlQN/48m6aFJ+zpEBptQk93sPQh9M8czvaTGBgj/obNFUppnhII4bHaL+t8 WDRLzC/3Bq9UVwLtv7GnkM96heFTdJivk2h6ne0AJWun7grt5tlGRIkzjFdSsrMuxmm9 fOEoOPvp1SOx/oesbnKiK5xb2kGivh5DafLvQPvRzONO+0HYgfFbCsn5INIWAqht3SWV XGyvUJUdga+HZqaWOemqlq7N/FMRO9J5Gswx85kxcWL5ADEik4+K0/FZgRLrjRPkD6Cx EIDe//PF9Abt7YL/j3jqsSf12pvXQUFX1J8fSacwR2zK+LGdDdBoE3fd3uPb87puxjNj KbKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=8/Gp8oNJZw3cLXUYP8ks4PwvnFzrrxOR4KiPfsrpS5s=; b=DoGYHwO/WeU2o/OLxF7eeAAEOj264u1iojEF451iGsv42XVaPMJYgVJ/WOQaQIPhR6 YowDELi3kqv1sj2672rvyMl00LojZjrx5tkEfyYWCr6JhYy2wbL+kTSFm4kyxJPcJEgH ZYt3VttWQNHKWDtf++VCnC9cEtWhj9eVtWB8e5uw03BKquxLMmEiTXBCDgsMSDBEffOT mwl9XG7NrNEJ8LfbAGzD/+/1LwFKHpeeJ6IqWTKjL3Kjf3tvhgxgofOYJt+/nxK6DEsH oHRIeGIjf1sbKEifWxwUKcXHmOFv3CKclUVj/R0SBGO8mV73QGvNe4fkVK7irMmygxMC 752w== X-Gm-Message-State: ANoB5pmhqW7sSb7p3ZrWHYdcDTKYBiHhupTmFId8Zk/yMw27C2j/NANy H/8i5j7HxUWNzi9ESnE1kOso4mx/J+icArD8 X-Received: by 2002:ac2:5f62:0:b0:4b4:6ca6:c669 with SMTP id c2-20020ac25f62000000b004b46ca6c669mr9176286lfc.338.1669212804830; Wed, 23 Nov 2022 06:13:24 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id 21-20020ac24835000000b004a2588520f5sm2893414lft.166.2022.11.23.06.13.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Nov 2022 06:13:24 -0800 (PST) Message-ID: <7f3a34a0-a5b0-3a72-8e0e-00656bd77ff6@linaro.org> Date: Wed, 23 Nov 2022 15:13:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH V5 4/4] arm64: dts: meson: add S4 Soc Peripheral clock controller in DT Content-Language: en-US To: neil.armstrong@linaro.org, Yu Tu , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Neil Armstrong , Jerome Brunet , Kevin Hilman , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Martin Blumenstingl Cc: kelvin.zhang@amlogic.com References: <20221123021346.18136-1-yu.tu@amlogic.com> <20221123021346.18136-5-yu.tu@amlogic.com> <9961d579-9463-c585-34a6-a3abcd4b3e52@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <9961d579-9463-c585-34a6-a3abcd4b3e52@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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 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 23/11/2022 14:27, Neil Armstrong wrote: > On 23/11/2022 11:10, Krzysztof Kozlowski wrote: >> On 23/11/2022 03:13, Yu Tu wrote: >>> Added information about the S4 SOC Peripheral Clock controller in DT. >>> >>> Signed-off-by: Yu Tu >>> --- >>> arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 26 +++++++++++++++++++++++ >>> 1 file changed, 26 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi >>> index bd9c2ef83314..e7fab6e400be 100644 >>> --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi >>> +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi >>> @@ -6,6 +6,8 @@ >>> #include >>> #include >>> #include >>> +#include >>> +#include >>> >>> / { >>> cpus { >>> @@ -100,6 +102,30 @@ clkc_pll: clock-controller@8000 { >>> #clock-cells = <1>; >>> }; >>> >>> + clkc_periphs: clock-controller { >>> + compatible = "amlogic,s4-peripherals-clkc"; >>> + reg = <0x0 0x0 0x0 0x49c>; >> >> This is broken... did you check for warnings? > > This is actually fine, the parent node has a ranges property: > https://github.com/torvalds/linux/blob/eb7081409f94a9a8608593d0fb63a1aa3d6f95d8/arch/arm64/boot/dts/amlogic/meson-s4.dtsi#L93 The parent ranges do not change here anything. You cannot have a reg without unit address and the tools report it. No need to use reviewers for this... Best regards, Krzysztof