From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta0.migadu.com (out-48.mta0.migadu.com [91.218.175.48]) (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 424FA3E6DD9 for ; Wed, 16 Sep 2026 06:09:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789538985; cv=none; b=RouX7hBi1ZRPAn1x8GHj60d6VGqH7jWtM3AZayALwySOzRayFsXc7bTGEaE9ZL5eOoCaToYgn/S1/va3ivstFpiGsMPDO8OzzMl+yz26dLCKlsvs99B8S+j+ChdnpGjgnobNl9G7OK/rRyXQahXG4Q4wS4VIWXbFAKULlHRm+Nw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789538985; c=relaxed/simple; bh=1FXPXUrDPcrYPLwRxPXtr4tpEmOLRIi+Rq2mTTRREaU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iNWGjKpM9MuMlfd9eOIHqnxec3AtCOr0NKwWZCaoLP715qUuHfwBYNqn7yuyPA1U6LMbmlqm1yM8sB1e+6SXfg89TVAi8ouhc4LQoHmCRMCqQeZF8yI8cT92sWULE19Q0NN/uudprAnJm+IccCTJLWZEev4LoWFugOTHf1GRBho= 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=P0LRIIU3; arc=none smtp.client-ip=91.218.175.48 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="P0LRIIU3" X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=1FXPXUrDPcrYPLwRxPXtr4tpEmOLRIi+Rq2mTTRREaU=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1789538981; v=1; x=1790143781; b=P0LRIIU32CE79vjascQV+yMYtw82H/b6dQTfZMWX7/K6l+5JSQ9JaZDydMLCVvdjNAIE+kKq 6LZUEeM5G36PWHYACJOahGES010/S5TjcAAW/Iux0fH+oJTZA+3+T9rFwNxsrxyoV7f3gw6gsuv KpXCVlVwm74FZLfdRHZi/0rM= X-Envelope-To: linux-kernel@vger.kernel.org Received: by mta12.migadu.com with ESMTPS id 56e648d48c427c41; Wed, 16 Sep 2026 06:09:41 +0000 X-Mizu-Trace-ID: 56e648d48c427c41 X-Migadu-Flow: FLOW_OUT Date: Wed, 16 Sep 2026 09:09:32 +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, Sverdlin@mva-rohm, Alexander Subject: [PATCH v4 06/10] rtc: bd70528: Support RTC on ROHM BD73800 Message-ID: <1ff511f419fcbd72dd241f598127608a6a0c9598.1789538455.git.mazziesaccount@gmail.com> 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="mUgRN4pDP+5ghfak" Content-Disposition: inline In-Reply-To: --mUgRN4pDP+5ghfak 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 --mUgRN4pDP+5ghfak Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEIx+f8wZb28fLKEhTeFA3/03aocUFAmqqMpwACgkQeFA3/03a ocWHywf/TpnLoThLOPyYyeFOZbqVLZ+ucK3WNz1ae/rLX+DhEKXRo1QVhzEd1MLU G7R6rQKd/0TcWu1aWVO/0+Gu7/AmOs1K0JRJToC6zxWekjznVQT3tZ6TOBZqupm0 rRMq44S0MVjDhDVCRmt8iCTxF2wdsuVUzWQu3TRs3JhH6wi82Zgdz/SSC6xOPQB/ nl7xJRLCF0JEAu2uJTPokEjZ1kv/xMHjz4W/LKVV2EBhwniv+UYt8+mXwhlJh3ks vRNYzlH7NmnaoVZdR8l7QhPHuu0qrFBjhfTajAVA5IczJee3JCQAp8YVZLcH80Qg zNUC1C5MxToP6G1mUQNQiv5w/HDoYA== =Hs+m -----END PGP SIGNATURE----- --mUgRN4pDP+5ghfak--