From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta0.migadu.com (out-65.mta0.migadu.com [91.218.175.65]) (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 A9E58471255 for ; Wed, 2 Sep 2026 11:05:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788347127; cv=none; b=Jbls0bCqPnGpp7k9kjm9v9f7RB7zwCgeg3RTo1TA5HkSZlV1wH4jqyieEm55BxPMR9HUH7OgAx3Y2+X07D/xaJJufIz0LtUvW6/67MdPidsWOU6gqCj4tOCh9B/nbzX25ZiwpumOcr7Kj4UxJCLVTWo+tLWDfjAe4haq0rRUQ1I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788347127; c=relaxed/simple; bh=HaNYEnH8LVUlMmFL5E2ONB5bXrGpyqsXd9iFMN8eYbQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rhKghkeY6Wkz4qtJL+778/mIEq6LmlobMWimCNUjEGkB7PQQLcti5rIoVHUTePeANuTMKE+SQcYGFynb8UqM01+GlUDuSSqcvmCibjR23b+9yiZXVZFKknnp90UG/f4bjmmP520bnMsLZA15qwBxtyXxWIwJYLTbrEAPJ93owZI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=pU7jKEQI; arc=none smtp.client-ip=91.218.175.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="pU7jKEQI" X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=HaNYEnH8LVUlMmFL5E2ONB5bXrGpyqsXd9iFMN8eYbQ=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1788347122; v=1; x=1788951922; b=pU7jKEQI4LlILKRWKRTcFxOiSSjBsF8PsthjYgBY1cYw9o7aWtLtNocjkzonpnnF4JA4Zn9H Xic+iYk9vsQlftLF1DV1YlzSB8DpPzHlYS9SlxCeXE7qszUHciEekgmMmKXFPW1BsF3XpBeZzJT pm8GIVQOD+t9why+K9eaBAOM= X-Envelope-To: linux-kernel@vger.kernel.org Received: by mta10.migadu.com with ESMTPS id 8e0f7be38ebc2042; Wed, 02 Sep 2026 11:05:15 +0000 X-Mizu-Trace-ID: 8e0f7be38ebc2042 X-Migadu-Flow: FLOW_OUT Date: Wed, 2 Sep 2026 14:05:11 +0300 From: Matti Vaittinen To: Matti Vaittinen , Matti Vaittinen , Matti Vaittinen Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown , Matti Vaittinen , Stephen Boyd , Brian Masney , Jerome Brunet , Linus Walleij , Bartosz Golaszewski , Alexandre Belloni , Michael Walle , mfd@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org Subject: [PATCH v3 06/10] rtc: bd70528: Support RTC on ROHM BD73800 Message-ID: Reply-To: Matti Vaittinen References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZbYZHO2k6nhQcAFN" Content-Disposition: inline In-Reply-To: --ZbYZHO2k6nhQcAFN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =46rom: Matti Vaittinen BD73800 contains similar RTC block as BD71828 and BD71815. Only the address offsets seem different. Support also BD73800 RTC using the rtc-bd70528. Signed-off-by: Matti Vaittinen Acked-by: Alexandre Belloni --- Revision history: v1 =3D> : - No changes --- drivers/rtc/rtc-bd70528.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/rtc/rtc-bd70528.c b/drivers/rtc/rtc-bd70528.c index 482810b61495..fd415e327ea6 100644 --- a/drivers/rtc/rtc-bd70528.c +++ b/drivers/rtc/rtc-bd70528.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -284,6 +285,12 @@ static int bd70528_probe(struct platform_device *pdev) bd_rtc->bd718xx_alm_block_start =3D BD72720_REG_RTC_ALM_START; hour_reg =3D BD72720_REG_RTC_HOUR; break; + case ROHM_CHIP_TYPE_BD73800: + bd_rtc->reg_time_start =3D BD73800_REG_RTC_START; + bd_rtc->bd718xx_alm_block_start =3D BD73800_REG_RTC_ALM_START; + hour_reg =3D BD73800_REG_RTC_HOUR; + break; + default: dev_err(&pdev->dev, "Unknown chip\n"); return -ENOENT; @@ -344,6 +351,7 @@ static const struct platform_device_id bd718x7_rtc_id[]= =3D { { .name =3D "bd71828-rtc", .driver_data =3D ROHM_CHIP_TYPE_BD71828 }, { .name =3D "bd71815-rtc", .driver_data =3D ROHM_CHIP_TYPE_BD71815 }, { .name =3D "bd72720-rtc", .driver_data =3D ROHM_CHIP_TYPE_BD72720 }, + { .name =3D "bd73800-rtc", .driver_data =3D ROHM_CHIP_TYPE_BD73800 }, { } }; MODULE_DEVICE_TABLE(platform, bd718x7_rtc_id); --=20 2.55.0 --ZbYZHO2k6nhQcAFN Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEIx+f8wZb28fLKEhTeFA3/03aocUFAmqYAucACgkQeFA3/03a ocXMBgf/TUt9DOWU0huBBQ/MfEOupg3r4aPH5gSN10GPm11yxis34Taox4c0BSiy SpkFzrGRLMaApCAsdx5CPAnMaYElKQUObWPEXC22cB/d2xZb+d/VjsjNJ6UHLyJx k8AGUdsyHj3ZLmzJRhifvdadW/ddIwitkxaBAY4CrQ6fQwAEfMAH8vmcgF+LlAhR GShYcq2CV62ppZ1iWflizgHngTGWJTRqxgc74Tf5HP1SRvr4TYCZWcR9kkKLvW8+ O5aR5L+b5+t0ZeFLGK142eKDMftxroMHrTolAp5aU3SmAgYuG+CJyaFmqPg/wB0A ZoVGJFzpV4CMCUFmcxOL0Zw1VC91vw== =mYIV -----END PGP SIGNATURE----- --ZbYZHO2k6nhQcAFN--