Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp296638rdb; Mon, 15 Jan 2024 23:44:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGycvuXwkco34TNrOkcIb5XEW5/SvIV2Zb0ENTGG9pqEaxf11fmKSesdE2vX2bH1UZrw/W6 X-Received: by 2002:a25:8688:0:b0:dbc:fb04:62e6 with SMTP id z8-20020a258688000000b00dbcfb0462e6mr3215644ybk.128.1705391066947; Mon, 15 Jan 2024 23:44:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705391066; cv=none; d=google.com; s=arc-20160816; b=Ynq7VsAWBdzRhZgT6rT9c5Rshbkjn97rIa+QKg9vKGwiGvqW9TfjP78aDtI0nAitiI w+e+90snCS/t2qNo9Od7b03brGFl2G0/sZjfmcdWThU1lanh5ytP7RP47cRxgHA0VKVl Pj1nJg8G+X08JgZsgs+KhXwJ8JrYMbYJpDKF4W1z1fzbwOsNqqKj7jhuRl1tbUL6OoOX NkTM2xJ0VPYvdE6n0eciGlDYoT3EQS3UZVRhI8OG4AEObTrS8LnLC4kyKZ+EbF3WaInK mo/mfjGKBhbr0gBIHJSk1be8i3CxahBkL0NG8rhN2IPES5lBazOKLNVfPcTGIF0yVHdJ JTVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=jKzzfD7Q+iw9ywLSyQUPmN6HRknPizPzZEN0JpohIlg=; fh=xmaDXklkLvAQCXKl2G3wrcHyvXoykbyEhnkOJHZhuug=; b=pTCoV67aMGzTq35m/GjA028LEtth2BTLJPhypFN8/CflIJoijtgt41yXJ6Lv+XWmQt azo6MeuNZJtfxHvAj0kAFVpT5fP37vyUJtsyIo4KSRxom/wkfSnDOS1W5FlNFqs7PuwE 5nznsQlUlX9Zwojr++6Arm37I+9ygbKFfWhWB14WYCflIMNMXZma1XhLKJzuxoTWI9j1 YIvNejk+LhUPWpLrfWBF1vCMKu8cr0S4NF/uzgYAMKNMmURWiJWnGEHMZfoGdqXyt4ek uTqxlzUSbWe2pTNziRFh6LYDN8KZukUau9tcP16h8CCS4DkdsZw2/OxBa3GbPWCb6YpC Eisw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yE4FewSJ; spf=pass (google.com: domain of linux-kernel+bounces-27094-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27094-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t2-20020ac85882000000b00429c0179530si9366298qta.704.2024.01.15.23.44.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 23:44:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27094-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yE4FewSJ; spf=pass (google.com: domain of linux-kernel+bounces-27094-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27094-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A21371C23115 for ; Tue, 16 Jan 2024 07:44:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A0CF1119F; Tue, 16 Jan 2024 07:44:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yE4FewSJ" Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1EE011187 for ; Tue, 16 Jan 2024 07:44:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a2bdc3a3c84so596248966b.0 for ; Mon, 15 Jan 2024 23:44:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705391054; x=1705995854; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=jKzzfD7Q+iw9ywLSyQUPmN6HRknPizPzZEN0JpohIlg=; b=yE4FewSJqLLtjyjvp9WzxtH8x0Ol6o2pv6APn7yBgqtjJWxWBndaXiNSmwitSiwPU7 d3Tj+wdqwZB8kx6PaKTBL9udbrCOaG9yGbH9AgJWGM8HXgSnQAYxys4PFhFwazP5wg+D ARB4/KbQ/dQZ9om44+2LOH+YkOlvS9woBtBzIh8Y3dCY27jOHBer1IC8FOZdI7jsOXif ArrFXe2deCelgbVmMs2G8UXNGQ8n/y6zrJt5uYArWZTyJ9HIBvySkvj96r+VCB5PzKBA 92E9EjppVI/fdWv8Ie1m3boSsKEhRAXY9g3pbOVqZDEIJasmdVf+CJlW4kUX4+dR0sna imyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705391054; x=1705995854; h=content-transfer-encoding:in-reply-to:autocrypt: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=jKzzfD7Q+iw9ywLSyQUPmN6HRknPizPzZEN0JpohIlg=; b=gUJ3puwnR6ROm6+NnlBlJqc2AqPtaBocM7A3mD4yyXM3PSi3RvuRKHiQc0YbXP8qmD VVi2+hrIPIX/vl8CdCYXqSgLpQd2YsHGo8LKaBP6m2XDuxeKuGPjLjoWKNNP6D05PxVl 38btNEGN9wkQBOFwGU/IoXjPkBHjXK8qt3/q+wqmmgd9jHMvuUeZ7LJYEMOfDZmqT2FI gXi0M5fm76WMTlBgGDSd4pZGr6gGa4VWpmt0BpxZ5WV6GX/Xz9PmbpTpgOikxe93SLEB KP1buV4uVaQPhMpYXVCinRjXbSP27BCXq4pMqz81T2+UHuC/5vMTLOAmjGuyHk54sgAR /6qA== X-Gm-Message-State: AOJu0YyHEHyVln8LDjtbinzz4KMSntYIny0ONkhdapqI7kZ7juih42iD Hv/yDgSmEAC1nRjTQVa8cGsjEZ7xbjGHRg== X-Received: by 2002:a17:906:5811:b0:a2e:92dd:80a3 with SMTP id m17-20020a170906581100b00a2e92dd80a3mr20827ejq.123.1705391054245; Mon, 15 Jan 2024 23:44:14 -0800 (PST) Received: from [192.168.1.20] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id x25-20020a1709064bd900b00a28f54aacf1sm6185810ejv.185.2024.01.15.23.44.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Jan 2024 23:44:13 -0800 (PST) Message-ID: Date: Tue, 16 Jan 2024 08:44:12 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 3/3] riscv: dts: sophgo: add rtc dt node for CV1800 Content-Language: en-US To: Jingbao Qiu , alexandre.belloni@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, chao.wei@sophgo.com, unicorn_wang@outlook.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, dlan@gentoo.org, inochiama@outlook.com References: <20240115160600.5444-1-qiujingbao.dlmu@gmail.com> <20240115160600.5444-4-qiujingbao.dlmu@gmail.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMY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45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240115160600.5444-4-qiujingbao.dlmu@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 15/01/2024 17:06, Jingbao Qiu wrote: > Add the rtc device tree node to cv1800 SoC. > > Signed-off-by: Jingbao Qiu > --- > arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > index df40e87ee063..66bb4a752b91 100644 > --- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > +++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > @@ -119,5 +119,17 @@ clint: timer@74000000 { > reg = <0x74000000 0x10000>; > interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>; > }; > + > + rtc: rtc@5025000 { > + compatible = "sophgo,cv1800-rtc", "syscon"; > + reg = <0x5025000 0x2000>; > + interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&osc>; > + }; > + > + por { > + compatible = "sophgo,cv1800-por"; What is this? Why is it here, how did it even appear? It misses unit address and reg or is clearly placed in wrong place. It seems you entirely ignored out previous discussion. NAK Best regards, Krzysztof