Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4888205pxu; Tue, 22 Dec 2020 03:24:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVYlIpnk6Y/cmLtkLBb/Zd1G2joSAbLQs5CB6rxiJ0Fx5cgdSdqfmTZ4kMoyjpC1hYyMoq X-Received: by 2002:a17:906:98d4:: with SMTP id zd20mr19364492ejb.532.1608636292732; Tue, 22 Dec 2020 03:24:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608636292; cv=none; d=google.com; s=arc-20160816; b=rxHwfLcQp5tTSYwyzFRX8SP4rff+boqJrBaWFTGl7nFB6raMbttw8osykG0LvTRoeg CUadLs2uApxBLr1jDQ3CtSc4DpA4ntzTgD9Jh855XO6VSFNge/JkYPnR11bBYyo1B5Nv J3VM2VbIvlIRYoRnEnqpFXrJoN1NwUvN04AupsYx/ThLsICFO9zVyioXu87z9V8WitDL GgVy8XsHAm5Wlq88cxvWvEOwuWP4PE/yZ4dw5hn/MCbd0CtoYi82Vpww8sti21HirOKF hXm55vYpoO2pXi1o2p6y4r1SWqCPIRqBVmD8XgGEOeINpIkh+WsLS51gO1BNlg9XKhB9 saIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=M1Y5IRysCL0PIS8uB2L0ODxVBV9mnqCa41lF168xGTk=; b=q/FZAbFmmCTIyJAwO9ihcBpzmvO3JLOmu8/jzxcTE0W8jIFqj6UtTi4sE5Bb6xzTB+ EoUB4Pbqe/PqxFRkXhnigTKGRay4va0uELDF9Kx4zi9JZKhdTc32XdZkFbget5RcNk8T uS+z9L08RwV+WWuNo5qvIx9pj0wVaKtvzX/hyLFueXm4VapM4+i4nSBZMBUwe72PKyfZ XTzrhJhiyLNy3AWnDRpD9pSIxp/0d7knDDLYMXWW4baDSGleQ2Kjgm0jM98Rnwg18TCb LnPzSc5UyipnBc9WY4lAHNZa0p0CvkDQWPguiQAZKX78avMa6sipzlnfVC5YE7mQihne eh8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u7si12224304edb.213.2020.12.22.03.24.30; Tue, 22 Dec 2020 03:24:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726867AbgLVLXC (ORCPT + 99 others); Tue, 22 Dec 2020 06:23:02 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:59808 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726807AbgLVLXB (ORCPT ); Tue, 22 Dec 2020 06:23:01 -0500 X-IronPort-AV: E=Sophos;i="5.78,438,1599490800"; d="scan'208";a="66595841" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 22 Dec 2020 20:22:26 +0900 Received: from localhost.localdomain (unknown [10.166.252.89]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 9BE564008553; Tue, 22 Dec 2020 20:22:26 +0900 (JST) From: Yoshihiro Shimoda To: marek.vasut+renesas@gmail.com, lee.jones@linaro.org, matti.vaittinen@fi.rohmeurope.com, lgirdwood@gmail.com, broonie@kernel.org, linus.walleij@linaro.org, bgolaszewski@baylibre.com Cc: khiem.nguyen.xt@renesas.com, linux-power@fi.rohmeurope.com, linux-gpio@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Yoshihiro Shimoda Subject: [PATCH v5 08/12] gpio: bd9571mwv: Add BD9574MWF support Date: Tue, 22 Dec 2020 20:22:15 +0900 Message-Id: <1608636139-564-9-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1608636139-564-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1608636139-564-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for BD9574MWF which is silimar chip with BD9571MWV. Note that BD9574MWF has additional features "RECOV_GPOUT", "FREQSEL" and "RTC_IN", but supports GPIO function only. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/gpio/gpio-bd9571mwv.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-bd9571mwv.c b/drivers/gpio/gpio-bd9571mwv.c index 0e5395f..df6102b 100644 --- a/drivers/gpio/gpio-bd9571mwv.c +++ b/drivers/gpio/gpio-bd9571mwv.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * ROHM BD9571MWV-M GPIO driver + * ROHM BD9571MWV-M and BD9574MWF-M GPIO driver * * Copyright (C) 2017 Marek Vasut * @@ -10,6 +10,7 @@ */ #include +#include #include #include @@ -118,7 +119,8 @@ static int bd9571mwv_gpio_probe(struct platform_device *pdev) } static const struct platform_device_id bd9571mwv_gpio_id_table[] = { - { "bd9571mwv-gpio", }, + { "bd9571mwv-gpio", ROHM_CHIP_TYPE_BD9571 }, + { "bd9574mwf-gpio", ROHM_CHIP_TYPE_BD9574 }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(platform, bd9571mwv_gpio_id_table); -- 2.7.4