Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1630435rdb; Mon, 8 Jan 2024 05:43:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHDDM+R1lJKETrIqmwWyMFX3KehzUGQ5jkltYoQBbaMnaClC3cGtimcluYYGDSXv1VnFqqt X-Received: by 2002:a05:620a:198e:b0:783:1b39:4dbb with SMTP id bm14-20020a05620a198e00b007831b394dbbmr1872734qkb.128.1704721387842; Mon, 08 Jan 2024 05:43:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704721387; cv=none; d=google.com; s=arc-20160816; b=ObdkOtVTx2Z1dBwzXRcxfQTembhv2cNsRm5MeRtmjkmrIKR1KNxb3FDyFU1awXM60h Uf8acfkgSV+6xA0ZCfLwOIs70U/W8ODgW+sCaPWSdKyjepQhYp5LtS19r5AB6sp/4P2f zWWzVnGv+j9cGanrZ1acygo+SHtDV8dnQixRpc//IhAhO8Pbl6UnaqltuefmYAfD0LI3 E0sNZ237Io1UeoU1Wt42MfzmSxYfWaiF+AJWe3ivpbxR58ZxuadMaXTP4IP+0njjWh63 uykGyg/Ghj5B5zdhZMusPuvaQcL5eVvhx5hKweweZ36rPyH4wnKDayN3UUqJxgUXzJHr 0oLg== 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=qZaZLsQ9xPdwJhp6Soa9sCQk7s8AanM4FovM1Duez9I=; fh=/gP+FOs9x3Nyth4wbOqYmURrGrdg8xfldv+6mxlxU6Q=; b=TvPPe8bAywp03A2oKscAJ6yVJKLZE66QjFK2Q/2hzT13dIllT8daTatXwuO74wr4Jb 5GGMmkQRJ3yPYVxFQs6iENVqK+KBPylLllIhM2rl/xrfAc7eTauMG9gthtB3frQ7vmD3 nX4Ct7sv++qBHbzwi/ysgVCgXkobFeBR+BdnsQnXfte/KRCsII3weJzkUuhuhkgTC1f+ CkAxmJ+gdO2vMDlYwnbqDeyPIY2FeWEvmEGkMliqDBLNE0UW8Wl94fpJlY3Kj2BXM0aJ rPnKm1J1bvwCLInyvudrLFh+lSEJ1U/fQnNscjfl1yv6gaDHZ6QszAI1Fn3sWpZ/4Jc5 QdVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Yxlna0Vg; spf=pass (google.com: domain of linux-kernel+bounces-19637-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19637-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. [147.75.199.223]) by mx.google.com with ESMTPS id w7-20020a05620a444700b007832411275bsi1666316qkp.86.2024.01.08.05.43.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 05:43:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19637-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Yxlna0Vg; spf=pass (google.com: domain of linux-kernel+bounces-19637-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19637-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 89C571C2297E for ; Mon, 8 Jan 2024 13:43:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5FA3544C99; Mon, 8 Jan 2024 13:43:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Yxlna0Vg" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (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 3502A44C93; Mon, 8 Jan 2024 13:42:59 +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-ot1-f53.google.com with SMTP id 46e09a7af769-6dc83674972so1294136a34.1; Mon, 08 Jan 2024 05:42:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704721379; x=1705326179; 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=qZaZLsQ9xPdwJhp6Soa9sCQk7s8AanM4FovM1Duez9I=; b=Yxlna0Vg5ztB/60I6eMIxIBXyJ8c0ynoCk+6o2h6ZmN7eghq5+zTHI+I/DGjeha0he 9yllAhTjOAW5WUqOTbcpfOIG6e0D3mIIAMOZfnn5pJuxkbku2VQ4fF6u0JmiQdnF4948 57CxFBL+YP0Z59iMudydVHXACbiuqTfckpPnzUqi8WOEWYf36e+rFtna/zEdxKH00YYY fFu9U5816nlCtVmTV5fhroNAiiMbD9y9tkbf/QsIkIV91iBK+v0MyjuKncjfpVS+oxXH kXDmPCZiOa0MTVhBdtpRU2zwBbicW8GHsf1AxaIOLfSkxHSwavigLIxEd7EpyPrpMxUv iLQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704721379; x=1705326179; 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=qZaZLsQ9xPdwJhp6Soa9sCQk7s8AanM4FovM1Duez9I=; b=sihyOcxALbKPtdWUG+ahRpDwDiyxIyNdTgYOd0gSuPDdBDzbPXjoPwcENve4RCsP4Z fwM2KngNixyHCB3gFRCB5guTaYelIDio1+HKwjE7jLbw5iSddXddtuybRN3rh2Gp8kJu 2w6/jExQ0kEED7qzRkU7U0Etx7ku23dBU9cKm8786Sa7tokfUWQWwwFEprB8dJ3ME5Qc zCbwu4szDTlWyHOjC6JrZnmn7j+JFsTiz2O8cenOKtmEMKSZLAmQMpoTqObS4PmHvSaF kjUB9EdpqExop2LxYYUqtp2TZXAUNiJvmfP8MK9RixeMTY5SOQQAoLX06zqqEop0efpT 8WfQ== X-Gm-Message-State: AOJu0YxwqX2k3X3iOfCFZJ/36nF5GfzGkcrfZSpFDt8larH4Xg9J4kCr bf6GZrm6ScTiP7f61oDlhFZXQGWYcVArUfoVIMw= X-Received: by 2002:a05:6871:647:b0:205:d083:75a8 with SMTP id x7-20020a056871064700b00205d08375a8mr4842508oan.31.1704721378734; Mon, 08 Jan 2024 05:42:58 -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> <93695e92-233d-460c-a6bd-882b30f1dea8@linaro.org> <7af6c688-3d3e-4cd5-bbd6-4ca323d7edde@linaro.org> In-Reply-To: From: Jingbao Qiu Date: Mon, 8 Jan 2024 21:42:47 +0800 Message-ID: Subject: Re: [PATCH v5 0/1] dt-bindings: riscv: sophgo: add RTC for CV1800 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 5:28=E2=80=AFPM Krzysztof Kozlowski wrote: > > On 08/01/2024 10:11, Jingbao Qiu wrote: > > On Mon, Jan 8, 2024 at 5:06=E2=80=AFPM Krzysztof Kozlowski > > wrote: > >> > >> On 08/01/2024 10:00, Jingbao Qiu wrote: > >>> On Mon, Jan 8, 2024 at 4:02=E2=80=AFPM 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/devic= etree/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. > >> > > > > Thank you for your patient reply. > > May I ask if this user refers to driver code or DTS? > > Anything. Any user. > Thank you for your suggestion. I will include DTS or all of it in the next version. Best regards, Jingbao Qiu