Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4113091imw; Mon, 18 Jul 2022 23:05:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ssY82Th/tqAcnZufxQYiMJnsHAuWoxguFkxaHCPdwzJK33iieSMCfFQUGY1V1uJorpWiCj X-Received: by 2002:a05:6870:a9a9:b0:10d:5b33:5000 with SMTP id ep41-20020a056870a9a900b0010d5b335000mr3394774oab.292.1658210744705; Mon, 18 Jul 2022 23:05:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658210744; cv=none; d=google.com; s=arc-20160816; b=WGX601QK5WlE/U+iPWOokPR9xjztY7UEEjvmuzrWawawb87UgpzajtJQKqOvNMrRkP lLLfVfgPkT5MNRNyzy/Eg0ALgvlLvXOGWp53jsDxmfZp/n7g5oWJl2jgNvUlzpaLPyLf oHT9WtzTDR647CSNjelx0kuKMR8r9HNJ/1eAN9G3KcVB4aoktofSlNOPb3Tm46PUHkBo 0FGZf+qkhgUVAyu4ykoa/ExLMbT6WEcKF/a7zApe9rkVAivd6iwMg0e5Cvg6Dv1X0z6a J+cKnL2+10JR9LK5p3LCF1ssk3tCVaGd9DuGvs8z9efuB14wR9nVoFGaQlW/LSN04rF4 awaw== 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:to:content-language:subject:user-agent:mime-version:date :message-id; bh=lFKue75oyWgs+0XxooE4AnCTIHimciqjG1Hlg4vv/cg=; b=ZPd/U1PTa03UcqDpAOqPtgEQf61sKJ1alQaJmBqdghjjDbH1qZemwSYbk7z42brUKV 97uy2Q2SBhV2prv/C00iwyi63OB5+PS7u8Gh2ERQiCFRqX7X0HxtmnFncgp9jD33ImTQ 5+Bt7dsSGr7s1BamDd+axwO7plViVN1bVYHqC78SkZq6xcNLddSAwdzf9jczIfelbqkL 5d5CqJxYkvdaZ4ebT+vDeHQH0ApORFcBopFe0pHrrRCw38aF3sQbbvRJpm1L7xkYMv64 vwKILdGOKye41Y7Rv/cEM+uKmV7oKnenslZHyiyC/WOfUDYrO3iBZ5z27UPxi8PUsttT RNdA== 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 j6-20020a056808118600b00339e5a230b1si15882765oil.192.2022.07.18.23.05.30; Mon, 18 Jul 2022 23:05:44 -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 S236279AbiGSF5Z (ORCPT + 99 others); Tue, 19 Jul 2022 01:57:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234935AbiGSF5Y (ORCPT ); Tue, 19 Jul 2022 01:57:24 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFB9D2AC6E; Mon, 18 Jul 2022 22:57:23 -0700 (PDT) Received: from [10.18.29.47] (10.18.29.47) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Tue, 19 Jul 2022 13:57:21 +0800 Message-ID: <3cc2e18a-1813-9939-4808-a59858f6451e@amlogic.com> Date: Tue, 19 Jul 2022 13:57:21 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 2/3] arm64: dts: meson: add S4 Soc clock controller in DT Content-Language: en-US To: Krzysztof Kozlowski , , , , , , Rob Herring , Neil Armstrong , Jerome Brunet , Kevin Hilman , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Martin Blumenstingl References: <20220708062757.3662-1-yu.tu@amlogic.com> <20220708062757.3662-3-yu.tu@amlogic.com> From: Yu Tu In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.18.29.47] X-ClientProxiedBy: mail-sh.amlogic.com (10.18.11.5) To mail-sh.amlogic.com (10.18.11.5) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS 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 Hi Krzysztof, Thank you for your advice. On 2022/7/12 17:41, Krzysztof Kozlowski wrote: > [ EXTERNAL EMAIL ] > > On 08/07/2022 08:27, Yu Tu wrote: >> Added information about the S4 SOC Clock controller in DT. >> >> Signed-off-by: Yu Tu >> --- >> arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 9 ++++++++- >> 1 file changed, 8 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi >> index ff213618a598..ad2ec26a1f4a 100644 >> --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi >> +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi >> @@ -86,7 +86,7 @@ gic: interrupt-controller@fff01000 { >> }; >> >> apb4: apb4@fe000000 { >> - compatible = "simple-bus"; >> + compatible = "simple-bus", "syscon"; > > This is not allowed. > 1. syscon needs also dedicated compatible > 2. simple-bus with syscon means it is not a simple bus anymore, so nope. I will correct it. > >> reg = <0x0 0xfe000000 0x0 0x480000>; >> #address-cells = <2>; >> #size-cells = <2>; >> @@ -118,6 +118,13 @@ gpio_intc: interrupt-controller@4080 { >> <10 11 12 13 14 15 16 17 18 19 20 21>; >> }; >> >> + clkc: clock-controller { >> + compatible = "amlogic,s4-clkc"; >> + #clock-cells = <1>; >> + clocks = <&xtal>; >> + clock-names = "xtal"; >> + }; >> + >> uart_B: serial@7a000 { >> compatible = "amlogic,meson-s4-uart", >> "amlogic,meson-ao-uart"; > > > Best regards, > Krzysztof > > .