Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1509821rdb; Mon, 8 Jan 2024 01:07:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFC8PXtBly4NGuXol8W5PGqE1ImMTwYto+/zgEqyNuL8q/lZvH6nUPe0v3eKTgug5fRC89 X-Received: by 2002:a17:907:272a:b0:a26:f2da:3bfe with SMTP id d10-20020a170907272a00b00a26f2da3bfemr1389592ejl.124.1704704840542; Mon, 08 Jan 2024 01:07:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704704840; cv=none; d=google.com; s=arc-20160816; b=Nxc3ICCl/BSEmLuVJ5f5osqiz2HVvKEfO+cQRSbhkSYjsIAS4Py9B4pdX8YdgvN7dO o3Vl+lQ58AbKFHXpy9bVRpxvepLn+TvdRMjPkBmTwXg0dbJx2azvT+uJR/DDJ50OvAwl eUP4kmFdiS5rnF58cDG4WuzdWZLgfK+n8z+cCRqSwl0gPXvHnV7xj7i9/5tH2ROOdpRM XjuXzuRWBtwx/NBLx9vSgw6Oqa/277C9iJr0beTGD/WqyM+lxiyz4MrSaVLA81TF9J46 2GJAu42rfHF2P+TjqkZBw+lP7VFHxvgMOyitsyRxhwE7iMPWbfodIGkMUUfLI+BJS+sS Hlag== 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=8MhYryk2qySQqP7ex6RCup+lRXCBNlYESjAZjDRfSeI=; fh=Hmcc7jLv6If77xipZ1L3G1KiaKuDTZw9GpM6K/GjgNw=; b=MSO1Z35I4L4bZFSnMKv5/E+BkGlJb2k/VZ6SX6n+BUdpwWPvQJ0LQZUqlRK+9KM59p q5mtvduX1LNtVitIAFz0ygiwTJG055xvHebF9yTxllwmxHaczmvyQP6s4VK+QPzhq64K M4IVsUTi2nEZIVGln2sdYhhxosJRu9qMUzMkhO0iGGeuCsHcPKj4Sb5A+053iLi1nbmC Z4ZHcEncrWmaCYdcwBmckV1UeS+sGePTdEkE+EmyceX5PACjS0sLj5GDx0PU1tqOA3sq xvPublCYLsaG4J35MLYHEQL5G+tvHpqUTI/N534IUkK/y+H0dvHj4j+v123aOLsYxEIK Ue1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mgHDyBS3; spf=pass (google.com: domain of linux-kernel+bounces-19240-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19240-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ch25-20020a170906c2d900b00a2b06140cdesi36727ejb.224.2024.01.08.01.07.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 01:07:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19240-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mgHDyBS3; spf=pass (google.com: domain of linux-kernel+bounces-19240-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19240-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 255891F21297 for ; Mon, 8 Jan 2024 09:07:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E79ACDDCF; Mon, 8 Jan 2024 09:06:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mgHDyBS3" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (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 836BD13FFC for ; Mon, 8 Jan 2024 09:06:37 +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-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-555f95cc2e4so1669722a12.3 for ; Mon, 08 Jan 2024 01:06:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704704796; x=1705309596; 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=8MhYryk2qySQqP7ex6RCup+lRXCBNlYESjAZjDRfSeI=; b=mgHDyBS3ZBtkKBX1HDT0h5XeT+nAFo0s+jk2FjnzIIL+qqFEgfG2+ivcUc3JwDrJXI gEP4oOnzrRdxydoO6nngmR3qMdv7nOgIN5B/WMAcbNMCl4MUKt59pDjHhXiCwX5EFcdv 0kmAMW4Vpt8gZpPOF9HTxmrfArhVxaKzgJXbNJ3rshbCs6/Qj/dD0H76/pZgAR4elfgq /Pn/dsQ4memGGv/g3PL0VZ0R+ZC13+9qeXZhReRFx7/ZQNtdbi292zDsxFemOcNIsGdf eN85zdVJWkPq8nwN8cR1+tGoPV24fTLrnqIPCoeWSjELK+OqUlQVYULpAoalYsw5sH8Z eYPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704704796; x=1705309596; 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=8MhYryk2qySQqP7ex6RCup+lRXCBNlYESjAZjDRfSeI=; b=M4KcBx7aFkvalHgqlFkRnqzWpNuEFcsrWBPwpva7jXAP9i8V/PZ2eVCz15nXPvNCbb Ht9nZZsAejUUNfw54KW5FlLaQtbcCQxiDK0kFaORhhjPgrp5OzC2Task1z7yeCY9Bywx nYyqqistdL6qyDZCByE7GRwLQOMlE+snCjniuSSLNdZXqJDus7ke4rf2+YOKk/+R+Fi+ ZiY4Jm4zUr1Ne8LzgJxYTNDhO4dlFkKJ+aTVFeJT/5lbTnqcngpZXYLISHGWa+N6b++L ZFF0rt7C5kcCHSuDZrTQC5z5fLVDr0RO2G6l782SQ2mh1UDDKy9HWrSBGNv3iLRdD4Qw Uzkg== X-Gm-Message-State: AOJu0YzvScukIIBxSXpJXRHjwLG8ifC/GIzVNWiBEwDtpI0s3nDilzCs Y/QrZ1LH6/bpmIAnaeLNkNVWZ2IjAhyyiA== X-Received: by 2002:a50:d7d7:0:b0:553:2b04:14a2 with SMTP id m23-20020a50d7d7000000b005532b0414a2mr1931215edj.14.1704704795757; Mon, 08 Jan 2024 01:06:35 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id en23-20020a056402529700b00557535489adsm2767091edb.37.2024.01.08.01.06.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Jan 2024 01:06:35 -0800 (PST) Message-ID: <7af6c688-3d3e-4cd5-bbd6-4ca323d7edde@linaro.org> Date: Mon, 8 Jan 2024 10:06:33 +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 v5 0/1] dt-bindings: riscv: sophgo: add RTC for CV1800 Content-Language: en-US To: Jingbao Qiu 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 References: <20240108072253.30183-1-qiujingbao.dlmu@gmail.com> <93695e92-233d-460c-a6bd-882b30f1dea8@linaro.org> 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/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Iz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sU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 08/01/2024 10:00, Jingbao Qiu wrote: > On Mon, Jan 8, 2024 at 4:02 PM Krzysztof Kozlowski > wrote: >> >> On 08/01/2024 08:22, Jingbao Qiu wrote: >>> 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. >>> >>> Power On Reset/POR submodule only using register resources >>> so it should be empty. The 32KHz oscillator only provides >>> pulses for RTC in hardware. >>> >>> >>> Changes since v4: >>> - remove POR dt-bindings because it empty >>> - remove MFD dt-bindings because SoC does >>> not have MFDs >>> - add syscon attribute to share registers >>> with POR >>> >>> v4: https://lore.kernel.org/all/20231229090643.116575-1-qiujingbao.dlmu@gmail.com/ >>> >>> Changes since v3: >>> - temporarily not submitting RTC driver code >>> waiting for communication with IC designer >> >> Hm, why? >> >> We do not need bindings if nothing matches to them. If this binding is >> for other upstream open-source project, please provide references. >> >> See also: >> https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L61 >> > > Hi! > > There is a function in the RTC driver code used to calibrate the > clock, which is define in the datasheet. > However, Alexandre Belloni raised concerns that clock calibration > should be done using GPS or similar > methods, rather than using other clock sources. I think what he said > makes sense. So it is necessary > to communicate with IC designers. > > link: https://lore.kernel.org/all/202312271350242a208426@mail.local/ Sure, this I get, but why sending bindings alone? There is no user of them. Best regards, Krzysztof