Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp261619rdf; Tue, 21 Nov 2023 01:47:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IE/k2gYe3+SCLddam00eZzbZVD95jeM9ssDcjzub6IAI2quxSVsavEZz0WNuEiATscuj5Pa X-Received: by 2002:a05:6a20:7f94:b0:17e:8dfa:f37f with SMTP id d20-20020a056a207f9400b0017e8dfaf37fmr3336349pzj.18.1700560046591; Tue, 21 Nov 2023 01:47:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700560046; cv=none; d=google.com; s=arc-20160816; b=RJKAdtYnG5h0oHOIq9eVyQXK7DbHgKdz84tFKSxQNbHNjZ62DX5ZlwY6/F1Q/f5Q8x DPDOwlsc3TlNTdaTHN7Zc4NIyqZhaYSuh3fW8XSuo5b0Yc7eI6a01nfzp2GNavso8yJH RUMTP7E5NIF9AjBsheDMj4dDblP7Si0ZyjN6xKrqnQH9/2QvduN1IU3IE/y1Iy5WBi2F 339toN03eOL50ufL1Yp5NxsgJAUauvEAi9FhWQc8uNFVl111o5WfGoR1BGUc8IR5HUYP NJKikzPqdv1fM33o4HhSBv99bTRoiBH4UgQOXplZgHqUpBHVo7cUtTmpwHs3gABREGmu 2RiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Qo9/VOIG19hh7iNX6wZ64Gh6cIWZUBNjjynlsiQtTkk=; fh=jPIQ3QCzMHY3w84iSpjxErRSsd+KHfYvqfWsgpjZi94=; b=Vr8LRrhMCn6LtWxFXYmuIxzg7Cjx34805VwTcWC6JXf7LmFRBTkLKiJQtfjuLErhvA TZ5LUZtILac0fFr7IWoNsjZE7CJo8pCmTu6KVIlKy7E+agVTQCJ7dp92w/cyrKXTqocB 7gdus2trlmrh4Zhh0Eutu2Zjss2WsqQCftHWIG/4UiSbkTDXt5QbRyBe59t38AJa7Ju3 1iDF4TcwcWhiMLh1m4qPxWagq+Xt/lPv8fZXT+zpGg4Xr1L/zSFczdOhQeKmZRCYj4dq ufdb/RiIuA+TJpVng8n8SRIkRDc6Vcm9pBZz/BUy8wamB5wKJNCXCVw9WNlfF005y0oL a6ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dIGe7189; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id 12-20020a63154c000000b005b8a295f016si10609917pgv.64.2023.11.21.01.47.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 01:47:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dIGe7189; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id BA95E8095831; Tue, 21 Nov 2023 01:47:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233540AbjKUJqx (ORCPT + 99 others); Tue, 21 Nov 2023 04:46:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232257AbjKUJqv (ORCPT ); Tue, 21 Nov 2023 04:46:51 -0500 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C16B1C1; Tue, 21 Nov 2023 01:46:47 -0800 (PST) Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-6cb55001124so1815392b3a.0; Tue, 21 Nov 2023 01:46:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700560007; x=1701164807; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Qo9/VOIG19hh7iNX6wZ64Gh6cIWZUBNjjynlsiQtTkk=; b=dIGe7189M6gsyKf1XCkYj4rl04y2gtvBvaK0FogUX28qQ7AApREE/ZEReGMKvrCT7m zstfw9rwruINFN2KcoaERzZx2EkIeAfgjD6SiZZsnQwNIW1qHDs8Ro0CbBAj5w3L/xwE 989u0Maz6qwU337R2wRh9kPccDKYw+t1Q/qIwndN+wj+DGb1QRc6/U48J2EI6uD8cP1e 4jMmdKM/588PVOuih+ot1ZRVBsrrzIlQCn+x5p7AKigYdT20mGWTx4qEZUS1BnrDsX1K J9RaH+jl2cPWx6csHn9Csq8hbMnsxJsOVdTRE2OHvofU9GZydddXmKTCarv8F8bSUPEz X9BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700560007; x=1701164807; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Qo9/VOIG19hh7iNX6wZ64Gh6cIWZUBNjjynlsiQtTkk=; b=luHJbHgt2QKiige24Mh0Zv8gjk5RilpZJkbSpnLOcSzT7wBKW68S8Kw4AkgBu1rFqE aWtmwRp/mGBojgQCmsnZV15P7p4YxFzxg52h1uKmdFI5UFDyHj8gi/TUNnzggBvN4+Xp wpxTNT9zt4mWOy+hmQIsdDcZIo9fPJeFm9MPmoNYXStLLOQiE5JV+Xmm9CdypptmAlcE f8p7uEQSExbQMh9Rfbpcsy7xH3S/GErl887NL5NZUmDKYoVf99/jt26pLfHo3T71Uco7 3LTJxMRarzZs83fyFL7sHO6EZmEZ06W7TOjJOsR0OsZ1DsyeIUH4gytLGn7Nu+oYpdn1 5IjA== X-Gm-Message-State: AOJu0Yyx10U0MWZNvMnXCQly3ANJ6+GiKRLMmnGrWO4DhNBXPrQDKnz0 p95fqqFlq6FYmNtDST+0U8E= X-Received: by 2002:a05:6a20:7f94:b0:17e:8dfa:f37f with SMTP id d20-20020a056a207f9400b0017e8dfaf37fmr3334255pzj.18.1700560007158; Tue, 21 Nov 2023 01:46:47 -0800 (PST) Received: from localhost ([2404:7ac0:49a7:269c:2894:5c86:a553:ed6c]) by smtp.gmail.com with ESMTPSA id fa17-20020a056a002d1100b006cb907e8059sm3680101pfb.9.2023.11.21.01.46.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 01:46:46 -0800 (PST) From: Jingbao Qiu To: a.zummo@towertech.it, alexandre.belloni@bootlin.com, krzysztof.kozlowski+dt@linaro.org, chao.wei@sophgo.com, unicorn_wang@outlook.com, conor+dt@kernel.org, robh+dt@kernel.org, conor@kernel.org, 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, Jingbao Qiu Subject: [PATCH 0/3] riscv: sophgo: add rtc support for CV1800B Date: Tue, 21 Nov 2023 17:46:39 +0800 Message-Id: <20231121094642.2973795-1-qiujingbao.dlmu@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 21 Nov 2023 01:47:24 -0800 (PST) This series adds rtc controller support for Sophgo CV1800B. Jingbao Qiu (3): dt-bindings: rtc: add binding for Sophgo CV1800B rtc controller rtc: add rtc controller support for Sophgo CV1800B SoC riscv: dts: sophgo: add rtc dt node for CV1800B .../bindings/rtc/sophgo,cv1800b-rtc.yaml | 37 +++ arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 8 + drivers/rtc/Kconfig | 10 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-cv1800b.c | 293 ++++++++++++++++++ 5 files changed, 349 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml create mode 100644 drivers/rtc/rtc-cv1800b.c -- 2.25.1