From patchwork Mon Dec 4 13:05:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 13478330 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B71DEA7; Mon, 4 Dec 2023 05:05:11 -0800 (PST) X-IronPort-AV: E=Sophos;i="6.04,249,1695654000"; d="scan'208";a="185258370" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 04 Dec 2023 22:05:11 +0900 Received: from localhost.localdomain (unknown [10.226.93.142]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id F3DBC44506C7; Mon, 4 Dec 2023 22:05:07 +0900 (JST) From: Biju Das To: Alessandro Zummo , Alexandre Belloni Cc: Biju Das , Support Opensource , linux-rtc@vger.kernel.org, Geert Uytterhoeven , Prabhakar Mahadev Lad , Biju Das , linux-renesas-soc@vger.kernel.org Subject: [PATCH v2 0/3] rtc: da9063: Make IRQ as optional Date: Mon, 4 Dec 2023 13:05:01 +0000 Message-Id: <20231204130504.126787-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On some platforms (eg: RZ/{G2UL,Five} SMARC EVK), there is no IRQ populated by default. Add irq optional support. v1->v2: * Make RTC patch series separate from dt patches. * Propagated real errors for platform_get_irq_byname_optional(). * Cleared ALARM feature bit for non-irq case. * Added Rb tag from Geert for patch#2 and #3 * Restored dev_err() for devm_request_threaded_irq() as an RTC can wake up a system without an IRQ. Biju Das (3): rtc: da9063: Make IRQ as optional rtc: da9063: Use device_get_match_data() rtc: da9063: Use dev_err_probe() drivers/rtc/rtc-da9063.c | 89 ++++++++++++++++++---------------------- 1 file changed, 41 insertions(+), 48 deletions(-)