Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1511276rdb; Mon, 8 Jan 2024 01:11:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFyXtv16bhWJXYe6VxhzncjjPVPRDeUva4O6EgjmfKO6l6JPns90dHw9g0TKQje6TQY5InA X-Received: by 2002:a05:6122:2087:b0:4b6:c9fb:b185 with SMTP id i7-20020a056122208700b004b6c9fbb185mr717460vkd.23.1704705071386; Mon, 08 Jan 2024 01:11:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704705071; cv=none; d=google.com; s=arc-20160816; b=KX+ztCC7zXPvGICTIscOIqcJhR/4cbBhn6k3zc7ya4DYvh5uPvcD3eO0ReM3/eu44b HY9lmnhWcpcITOAch7wC814rhqtcFy3ad9YFnFBGmO4tFrB6jDZXtIXM4tjFCekwFW2T uZpix3zgaOLC0bqDg+xaImqPSvjSUR2kZfkDC5aekxmI4pflr97yDSUWXb1bvcPSzZmz B58qnjXrCJftngrW6MEjePy5km4OKiU8kmC4rLxyRw5NMFViOmluHurC67R3zMquXyBX sK2TkNfI5SZxd8ki5aNkf79yAE6dkqbfQkGbCiaQcmWDQLX7YaMxvLRqH1svbnNKjuTM BplA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=8BNk0vEp/T06pV48VMkJResRLpbsMI3MWGq9I4p+kNk=; fh=/gP+FOs9x3Nyth4wbOqYmURrGrdg8xfldv+6mxlxU6Q=; b=AEnXZ4qpAYbs3L1Cd+Q53UCnyquBQSQVw8XWY6RNpX1L7avX6Ep9TRG4XojxljhOxt +60ccnMeUrKLd/E3pQLTnVK1O4u5cBG8tFXYD5h4leA5oz1lSUujOLURPpHn+H5Arcak 4WGqsMmJ1yRvUmT2uPOr3/qLbR6nat/Nbl4NNkt8KiYOnBldPWS45gXmRWWnJ0zpHrki rLi8IH26teqc7briQp+z55v3kv5Kjs8/KHJhh0yOs2/bmx8tiS+t3I9Pb3pQmKAX9rkd dVis1GVuLCQkwpaCJCXAIpyoUBEwi4fjF9fn5/ukwYJX0uX0LfSEznd6u9OhxLrt6JT8 YyVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WsF6SftS; spf=pass (google.com: domain of linux-kernel+bounces-19250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v29-20020a05620a091d00b007815767172esi7251523qkv.36.2024.01.08.01.11.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 01:11:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19250-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=@gmail.com header.s=20230601 header.b=WsF6SftS; spf=pass (google.com: domain of linux-kernel+bounces-19250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 AE5021C21ECD for ; Mon, 8 Jan 2024 09:10:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6C04EE578; Mon, 8 Jan 2024 09:10:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WsF6SftS" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oo1-f47.google.com (mail-oo1-f47.google.com [209.85.161.47]) (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 466F512B74; Mon, 8 Jan 2024 09:10:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f47.google.com with SMTP id 006d021491bc7-5983686ef62so687748eaf.3; Mon, 08 Jan 2024 01:10:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704705032; x=1705309832; 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=8BNk0vEp/T06pV48VMkJResRLpbsMI3MWGq9I4p+kNk=; b=WsF6SftS0GQrxkz8NY8BH5/iA2AQhXZ/wXvOvxY2sO4WhUspIUFgugY2zR0CACXEkP 1nj8GygmpnEHAlaYsNvT7lhxTdN7YstH0rwBXbM7k0oe2Cu+ciRDeKkuRUZE185YBsfC QvAfamwmhmWMB0TtSBAPUbAoqMVvcaiW0obyBV6jGVw/P90QdWiX7Hxcgp86oo5tWmeo PoOtR8n9aProXuFyj14zvYLuWGm1LR+2pkyJ2Va5x2JqyYLS4T89U0vkO6BC693hpJNW BeBN7tBsPDsJwvvabMAa/jOKhm9sz0Fv7e/vwAeTfmBO6q3qM12q2xmy61aJbs+iYA2c +oTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704705032; x=1705309832; 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=8BNk0vEp/T06pV48VMkJResRLpbsMI3MWGq9I4p+kNk=; b=Sg9rx3hsEb8Ja+tYYU3+KnwZ7EBbR6FJ1z0hBavLWFPGudhay17Hm+pn0dG8IRlBm2 lUDJMtFD8oNaFGRpBJjHSCvbxW9BgCYkpMfAE9AjL9cUHj4p1cWHB9WIQ6HcHLtvFJW3 dzJ5Nvps+cLWM+SMnLfc79UedA1xqDbFZy8g3Z0FVnmmrE6Y8XhIbcfmDLE9KB6U91DX Zy1hf0MKxI/tZ8haXe8/rKe17oZ2K2rvlAN6vovSpuYoVNItetLj8QpCdP8GIZXKxAGq jy4K4adx+fF6KeRVdtj8lMQWa7I+gg8XX8Hn4sxvKPtY7fcDNRhz3biRtAa4ZTquJYE3 XSpA== X-Gm-Message-State: AOJu0YzllBRseun9RnGg1yO9b6BMJQyOL13R6Y3pmH3hQEpHhIivT787 E1V8rapzQk5FZkBJeioUi+y6YcSI7ELNaXcUsAY= X-Received: by 2002:a05:6820:60c:b0:596:3121:1425 with SMTP id e12-20020a056820060c00b0059631211425mr2183414oow.5.1704705032001; Mon, 08 Jan 2024 01:10:32 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240108072253.30183-1-qiujingbao.dlmu@gmail.com> <20240108072253.30183-2-qiujingbao.dlmu@gmail.com> In-Reply-To: From: Jingbao Qiu Date: Mon, 8 Jan 2024 17:10:21 +0800 Message-ID: Subject: Re: [PATCH v5 1/1] dt-bindings: rtc: sophgo: add RTC support for Sophgo CV1800 series SoC To: Krzysztof Kozlowski Cc: a.zummo@towertech.it, alexandre.belloni@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@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 On Mon, Jan 8, 2024 at 4:04=E2=80=AFPM Krzysztof Kozlowski wrote: > > On 08/01/2024 08:22, Jingbao Qiu wrote: > > Add RTC devicetree binding for Sophgo CV1800 SoC. > > > > Reviewed-by: Krzysztof Kozlowski > > Signed-off-by: Jingbao Qiu > > --- > > .../bindings/rtc/sophgo,cv1800-rtc.yaml | 56 +++++++++++++++++++ > > 1 file changed, 56 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/rtc/sophgo,cv1800= -rtc.yaml > > > > diff --git a/Documentation/devicetree/bindings/rtc/sophgo,cv1800-rtc.ya= ml b/Documentation/devicetree/bindings/rtc/sophgo,cv1800-rtc.yaml > > new file mode 100644 > > index 000000000000..01a926cb5c81 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/rtc/sophgo,cv1800-rtc.yaml > > @@ -0,0 +1,56 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/rtc/sophgo,cv1800-rtc.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Real Time Clock of the Sophgo CV1800 SoC > > + > > +allOf: > > + - $ref: rtc.yaml# > > Why the allOf has moved? Hi, Do you mean allof should be under maintainers? Or other meanings. > > > + > > +maintainers: > > + - Jingbao Qiu > > + > > +description: > > + Real Time Clock (RTC) is an independently powered module > > + within the chip, which includes a 32KHz oscillator and a > > + Power On Reset/POR submodule. It can be used for time display > > + and timed alarm generation. In addition, the hardware state > > + machine provides triggering and timing control for chip > > + power on, off, and reset. > > + > > +properties: > > + compatible: > > + items: > > + - const: sophgo,cv1800-rtc > > + - const: syscon > > Why is this syscon? Description does not explain this. Because the driver of the submodule POR in RTC only requires register address and range to work, according to what you said, it is only a compati= ble attribute and does not need to be a child node. So I wrote the following in the changelog. - add syscon attribute to share registers with POR Best regards, Jingbao Qiu