Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3838157rdh; Tue, 28 Nov 2023 05:23:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+zNOKIy2CFdxOI+4XoTT3yxJLvzfqWKdQ9fnrGh16SyOQt4QBKK9gO+XG4EZSt/ACODwd X-Received: by 2002:a17:90b:4a03:b0:285:8407:615b with SMTP id kk3-20020a17090b4a0300b002858407615bmr17755814pjb.0.1701177808790; Tue, 28 Nov 2023 05:23:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701177808; cv=none; d=google.com; s=arc-20160816; b=tlyUoy0hqfhqs9uMuZ7YQBRxvFm4jq3c65JyrNlK1ntz0gP9fXR7ZcrsQX3UpZAVIO 5RhnC91CJtZm3CNi6PKCFA0cg2IsFidEZeaj46IsFQ2+Ha4SF5XqXWSmwm2MP3Rxirn3 mrmS/lpoRNAQo1dW2E+iL/qxvbM73Zcq4baIIO8EfhbDAjWfAQf2S1+uAVKlJMFZFq2j nsnst0/7mTybjsjyjUVxF0hFv+iqtyBdGr4WHHYIgMRsvoAaumGOjNdIfYWBAJFUeT8U xNigjXNxsZx/TQ+dT/TIlr+0xyqqVvF8mnTmjw9G04hAs9aGczHGQnAF0EYZe87BdDAH kE2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Z+D+kelET1lYqbh/KjJRYmV6h/cajU1QJXlzne6uJHw=; fh=7RyEOiT7rKunBK8J6dgkCMYV8DIaq3dgJVIFOPkcvLA=; b=q4eIHoZjIPUuz86LZqMXm6H6zu1U5cJtKpS6yL/KoW8EuNGvd9PQUVeMJlb0fjoGZI kLgYh2usyvOsK/NRynKzLMi+myZGMoKPFSktHuwWIpNg468g8mpX0Z0LCgrih8HsTF7W fwjEt8HgAfMKNE+atxIHGE4mqzDHDrCdGDld1A4m2arHh5vSBndS9x9/qHhTR2VjuhQ0 pzyWDF+3SdcHq5T/BtKDI1qwq8cbq0ASR9vUYvXkQ0FO775gBPHBbowwU3x2Uoilo2TR 3KVaCGG6YhkyJUZNEq8jlD+hx+RKhSoDDBNYe1W88Mr92yeV41UZMdEZt75aIESDa88z lVEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=S8u9G0yD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id q11-20020a17090a9f4b00b00277e0d7163asi12596100pjv.32.2023.11.28.05.23.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 05:23:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=S8u9G0yD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 2CEF3809F3A6; Tue, 28 Nov 2023 05:23:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345183AbjK1NXK (ORCPT + 99 others); Tue, 28 Nov 2023 08:23:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344875AbjK1NXJ (ORCPT ); Tue, 28 Nov 2023 08:23:09 -0500 Received: from mail-oo1-xc33.google.com (mail-oo1-xc33.google.com [IPv6:2607:f8b0:4864:20::c33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DD5390; Tue, 28 Nov 2023 05:23:16 -0800 (PST) Received: by mail-oo1-xc33.google.com with SMTP id 006d021491bc7-58d54fd8c5aso1517998eaf.2; Tue, 28 Nov 2023 05:23:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701177795; x=1701782595; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Z+D+kelET1lYqbh/KjJRYmV6h/cajU1QJXlzne6uJHw=; b=S8u9G0yDz4h+C0E6uhHuAynYfb+vsxUsK+FNwNRSYfU5v2RyUuWVSsJQLb0/F8nt5p pKqOep9sVzWJvnJNpmMgID0dzKcWNahPhhIXDSAbjdMafruRKa4HWBmEu/2GkJSw2BhF u43ibYV3ON6qxpo3eGBJ4oxUy9JK2y991hEvot8EDUQ/Db973ZyD0jMv/M16IoKGjFmS YaMM9oXzSVoOPItHHJt5ek6Y67q07vvujYhNB2jjtPiGgFw9VPJ789FsetytBAJfhnAP zJ27gDFDjDVZVVo+9dE8us3/Gd0Qh5VZtdu2L4VV9kio9X9Td8IHc+2NnHMBzgeUNj12 azMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701177795; x=1701782595; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z+D+kelET1lYqbh/KjJRYmV6h/cajU1QJXlzne6uJHw=; b=P0ki99roaR6aUWIzADL5e8mMxiXx0dZTy9NMstZNEeRdS42ejf6ExLSc/nZvmaz874 L0dONPaQtlMk4LFm1NET9djAAtC20i1HYb2vKyFmrCCggkgPjCjd1rQW6hEUlhvBVJ5D 1nLmsXIWfXNN90v5ctn36UDgbL/s59R8CZwAZkPdHV+MXhpcU+beqIYe7YZpKfb49KLs W6+AtVJs3BFtkAdVSowGqQgAxCf/UCMucZcA3bf0kNH4lUvRkrZ5zxKhyAFarjtFmorw NdzcNXDocy3+rB9eajbnMOfEA3acR8zGMvyUAuvIqeaZ8dtu3v2d6UFT1va8gyc0pNUh 7/sg== X-Gm-Message-State: AOJu0Ywx85F8/xlDj/gwdS/ZdPQ28zeEvpf+PYtpQiXTfYnU10jmOo8r cCked5d+SxFw9l8BDnFOitA443iKD3PAXv0lzJI= X-Received: by 2002:a05:6820:1504:b0:58d:97fb:cce9 with SMTP id ay4-20020a056820150400b0058d97fbcce9mr5162214oob.0.1701177795285; Tue, 28 Nov 2023 05:23:15 -0800 (PST) MIME-Version: 1.0 References: <20231121094642.2973795-1-qiujingbao.dlmu@gmail.com> <20231121094642.2973795-4-qiujingbao.dlmu@gmail.com> <457b44f2-57b6-4811-ae43-b49a92d64d99@linaro.org> In-Reply-To: <457b44f2-57b6-4811-ae43-b49a92d64d99@linaro.org> From: jingbao qiu Date: Tue, 28 Nov 2023 21:23:04 +0800 Message-ID: Subject: Re: [PATCH 3/3] riscv: dts: sophgo: add rtc dt node for CV1800B To: Krzysztof Kozlowski Cc: a.zummo@towertech.it, alexandre.belloni@bootlin.com, krzysztof.kozlowski+dt@linaro.org, chao.wei@sophgo.com, unicorn_wang@outlook.com, conor+dt@kernel.org, robh+dt@kernel.org, conor@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 28 Nov 2023 05:23:26 -0800 (PST) On Tue, Nov 21, 2023 at 6:00=E2=80=AFPM Krzysztof Kozlowski wrote: > > On 21/11/2023 10:46, Jingbao Qiu wrote: > > Add the rtc device tree node to CV1800B SoC. > > > > Signed-off-by: Jingbao Qiu > > --- > > arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/= dts/sophgo/cv1800b.dtsi > > index df40e87ee063..89411c75b89a 100644 > > --- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > > +++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > > @@ -119,5 +119,13 @@ clint: timer@74000000 { > > reg =3D <0x74000000 0x10000>; > > interrupts-extended =3D <&cpu0_intc 3>, <&cpu0_in= tc 7>; > > }; > > + > > + rtc: rtc-controller@05026000 { > > + compatible =3D "sophgo,cv800b-rtc"; > > + reg =3D <0x05026000 0x1000>; > > + interrupts =3D <17 IRQ_TYPE_LEVEL_HIGH>; > > + interrupt-parent =3D <&plic>; > > + clocks =3D <&osc>; > > + }; > > It does not look like you tested the DTS against bindings. Please run > `make dtbs_check W=3D1` (see > Documentation/devicetree/bindings/writing-schema.rst or > https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sou= rces-with-the-devicetree-schema/ > for instructions). I will check it. > > Best regards, > Krzysztof > Best regards, Jingbao Qiu