Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp73770rdd; Mon, 8 Jan 2024 18:27:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvv/hnfXaHGEunETc2o6duGrYXhm1wV0YmLQDuMd2t+WjzDeu/ATC8Zdfjoed3wzBP4baK X-Received: by 2002:a05:622a:1998:b0:429:73cf:864 with SMTP id u24-20020a05622a199800b0042973cf0864mr6095420qtc.5.1704767242717; Mon, 08 Jan 2024 18:27:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704767242; cv=none; d=google.com; s=arc-20160816; b=ozutOTuI92OMbtdirbSmhstMNWgQeIj8UZk5z4SN2TWmKkP6wwcQ0b5fI8FbBquPyr 3eAIRM5CEwPQtPqHsaX8AP/daV6yDxj4VqiVPmilG/kmxk23KjmgEb+JIDvf3hySSLNR 8ORws5oSBiIlW0nPcyVvcoaODAUGQTK6Pu8ExxTBaAm0repjRBXwbZi4KiBi/I+GNOSe HYGquJudMw3zTEC7pu8Zub13LFqW7SfzI7eG39C7Q0nTKkNXDv76KRouWjZdO1kOXsim 7krKRtf9PpJ+bawXXwodeFSOpwAOt/3BHqeXBoGLJmysqwtd0XLPGhXIyFxpmlHzdcek Jkgw== 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=/b5QxT6/6syUsjtZnVefpjrdly7pCfUgvMakpuOn3IQ=; fh=/gP+FOs9x3Nyth4wbOqYmURrGrdg8xfldv+6mxlxU6Q=; b=ioCtw+mWq6XYQxMxTt9ma0IFyhdz4cwHgz2PZL79jlEhfUYAjrYmeUn36eTUc+PtO9 gnmPM6j7eFszTwVAm2BLg2VLUB0PgTCmDvTLF2elriZzXsazfICnZxa/sitSFzuwEMHY mund8gn3WHxCpFtVVJVkR6w/CbFwbxteuaENbbufsoM/HSJ/SOWQgtplki2Aa+fXx+yK A7xTN2oIT3QNWjSBp9mhdXv8ADqstDVje/Gz26dq3VvheN9Ea6cOYIQCxOUOWs13tik8 eVchZ0xjPSjKEpOqqwGTjRjD9I+f3qwOhczPB2HGwGsKbK24XHjYzmtRQeHEuhwzfBFz 9IwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=S3OARUEU; spf=pass (google.com: domain of linux-kernel+bounces-20285-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20285-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 h18-20020ac85852000000b004299b199763si1133206qth.98.2024.01.08.18.27.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 18:27:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20285-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=S3OARUEU; spf=pass (google.com: domain of linux-kernel+bounces-20285-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20285-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 7BE9D1C233D2 for ; Tue, 9 Jan 2024 02:27:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA96C28EA; Tue, 9 Jan 2024 02:27:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="S3OARUEU" Received: from mail-oo1-f49.google.com (mail-oo1-f49.google.com [209.85.161.49]) (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 CC60B4680; Tue, 9 Jan 2024 02:27:11 +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-f49.google.com with SMTP id 006d021491bc7-596175c0be0so1684613eaf.3; Mon, 08 Jan 2024 18:27:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704767231; x=1705372031; 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=/b5QxT6/6syUsjtZnVefpjrdly7pCfUgvMakpuOn3IQ=; b=S3OARUEUoPb9UjS6dlocNtC7ih2rqL0O0HG33/ASswnaKXr53sITHAJFb9Vq3xRwiX UrwhAJ9LLhysbYy41n5t+rHCqLlAkHeijWQOtZosMXcv5uiCdm0F2uAOMLQ3siltz0pk ieq3Ff79WwbYoXDVPlf3KN1/wuOCWYZMUFbBHtRylI6ftMtcSvnzeF/6C127juRRZM/a FzeifmRkZzURJA1Op//36Z3+ePBOg87VVl6DgoVttSb8V5ssC23DepV5rOIQA3Wx8puk UR0DVwK4xyDK6MiNMP0cQ2Vh1ssW0j/uq+555X7zOxRYif55WoePmoMQy2ahpHhJhPSv mHmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704767231; x=1705372031; 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=/b5QxT6/6syUsjtZnVefpjrdly7pCfUgvMakpuOn3IQ=; b=m2mEBw7CGiPvh8syiAFcaEZIXjqZdueDidYKSwNXWqz2qwFRPT20vQyx+5xhN5m9zG UdfTJp3OTphc0W7Y3K/pDOgfPzG8NMErCkcDUZDef2p/RGT3bWNmFfsFJAIosG2toHd0 ydZMmZLSVm9YBOZS4neVfmjx9wJw/Y8YuBU/cjJgPZHiYrjvawhpnERMVabPBeJKEuV6 heIn0K0Clu73HwVnedwZlsVV2mcROMOV71lNFKOfJGx+rN8kLS43NkWC7USJgPjKdKVC KgGQDxgEnSAc/IU4cCnP/uHgbME6Gm7PRjfvedzxT67XVLQ/Y2nrjfqWN22Z/tgiJZtz vbtw== X-Gm-Message-State: AOJu0YxnSSqdsNYT3eGavWw4qOxBLRcuyenu+LiWJhiCg7B9P9VtznQ7 S5Jqf1pwgbdNbO9TERmcvkcp43jjvFYM80VWZMP2qT8DceKVPuFw X-Received: by 2002:a05:6820:1acc:b0:596:ab4:64ba with SMTP id bu12-20020a0568201acc00b005960ab464bamr3845492oob.7.1704767230517; Mon, 08 Jan 2024 18:27:10 -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> <7ceb8f61-6929-4ca0-83e0-c6534241ca5a@linaro.org> <086e568f-b9f2-417c-8f94-ebb97fbffbfe@linaro.org> In-Reply-To: <086e568f-b9f2-417c-8f94-ebb97fbffbfe@linaro.org> From: Jingbao Qiu Date: Tue, 9 Jan 2024 10:26:59 +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 11:24=E2=80=AFPM Krzysztof Kozlowski wrote: > > On 08/01/2024 14:47, Jingbao Qiu wrote: > >>> So I wrote the following in the changelog. > >>> > >>> - add syscon attribute to share registers > >>> with POR > >> > >> Where is this syscon attribute? Please point me to specific line in DT= S > >> and in the driver. > > > > I will explain in the next version of DTS. > > Thank you again for your patient reply. > > You added some syscon attribute. What is this? > This RTC device has a POR submodule, which is explained in the description. The corresponding driver of the POR submodule provides power off restart function. The driver of the POR submodule just uses reg to work.As you mentioned in y= our last comment.POR is empty, so there is little point in having it as subnode. we need share the reg to POR. RTC driver and POR driver will access this address simultaneously. so,I added this syscon attribute. Best regards, Jingbao Qiu