From patchwork Thu Sep 23 09:14:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1531648 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=c9BQhpxa; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4HFTym6Vj9z9sSn for ; Thu, 23 Sep 2021 19:15:12 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7205C83375; Thu, 23 Sep 2021 11:15:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="c9BQhpxa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F3D9483357; Thu, 23 Sep 2021 11:15:02 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 910D6832DB for ; Thu, 23 Sep 2021 11:14:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=heiko.thiery@gmail.com Received: by mail-wr1-x42c.google.com with SMTP id q11so15104161wrr.9 for ; Thu, 23 Sep 2021 02:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=K9/NIimf92AI8RpNTTmxADr6KKPmLcHup09cPJph/SM=; b=c9BQhpxagL6u3tsKm3tWf0jOIppEdenn+JTjHHkdLxUCaC6KFFRKlFtBu/lhZRcCOS 8PXyWWej+MNNNuZaGx+hd9MNfjBsSVxOBzKxcsmbUZzuyxMBitzq8liShSmZfa94wvOd n+0TkxoBhJtCWOJA1g/nKhbmAm7UHpeG8y1LLIL/3wm3JQLvAmTGCKvJDdp/1y5l4iXk 6jzXzYDUjP4qo8zYv8rampj5Mg/Xs/jdvSOumsBnoP6lqhVTVVQzwiYACvY6BqaqCWwI EtiRtFTfeqb71Bg450fLYQl7QHb+HQDlUJvliy15UTbjpx2z61+9LaVF7PJdFuFA4mhh UuBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=K9/NIimf92AI8RpNTTmxADr6KKPmLcHup09cPJph/SM=; b=6zbp7r9pt5OyMSplMxRwetJxArVtzPqAM57trxPYKLUgmyuzO0Dl/Okwejf3Hzy4wQ vH5bnapyTvhYqjspLC5g6B7SL/VrC9n22rmZt4gzXCr58J4m1W4iScmbHMp5cvGxiRRZ cnjVhwT1q0ITmdvnWTHgZbx9U8SXCyUIx58W/FxagL/hozzQn09cCwUHB8EzN/PR9lSs zqyABOIeZ4nZeA1QNWA2jI3PNaz1U+bK3vnTiLC5Lg0WfF9WF7XCTvjSGR1UruiG/hTx li2TtWSi1ZAvvS4hu6S0HDXkqIaXf8zYt8JsKXKMFmmgPxzeIF8Bnm7rDWuqz48D70x/ a+vA== X-Gm-Message-State: AOAM532jtEcNC5jbeTav2mMX8NcrK4NI9ZGfc9pLocHCmTaAsXXxy8Qw f6PooC0iGs5CFWIvRZHi8t5q0OIX/W7D8w== X-Google-Smtp-Source: ABdhPJz91cFbZg5TK4EEw5DfiPxDdgLUj7JK3agrcuOZUODEXFy5z2nIKMiwWS5hDTZeGnGIEjmJHQ== X-Received: by 2002:a7b:c932:: with SMTP id h18mr14707179wml.112.1632388497876; Thu, 23 Sep 2021 02:14:57 -0700 (PDT) Received: from hthiery.kontron.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id a72sm8814541wme.5.2021.09.23.02.14.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Sep 2021 02:14:57 -0700 (PDT) From: Heiko Thiery To: u-boot@lists.denx.de Cc: Frieder Schrempf , Michael Walle , Heiko Thiery Subject: [PATCH v2] rtc: rv8803: add epson,rx8803 and epson,rx8900 compatible Date: Thu, 23 Sep 2021 11:14:32 +0200 Message-Id: <20210923091431.11245-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean The RX8803 and RX8900 register layouts are compatible with the one of the RV8803. So add these to the compatibles. The same compatible strings are used and approved in linux kernel. Signed-off-by: Heiko Thiery Reviewed-by: Michael Walle --- The RX8900 RTC is placed on the imx8mm-kontron-n801x-s board and was tested there. v2: - add comment about compatiblity with linux (thanks Michael) - add reviewed-by from Michael drivers/rtc/rv8803.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/rtc/rv8803.c b/drivers/rtc/rv8803.c index acd50c6564..5bae39d6e0 100644 --- a/drivers/rtc/rv8803.c +++ b/drivers/rtc/rv8803.c @@ -157,6 +157,8 @@ static const struct rtc_ops rv8803_rtc_ops = { static const struct udevice_id rv8803_rtc_ids[] = { { .compatible = "microcrystal,rv8803", }, + { .compatible = "epson,rx8803" }, + { .compatible = "epson,rx8900" }, { } };