Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp7097217pxu; Fri, 25 Dec 2020 01:36:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJwCpO+ld+RMwKe0hO0ehm3FdDhmVmOoYCSCfTHSa2etr1ml+/K8TC5GaOI+9bGdD76DthgK X-Received: by 2002:a17:906:f153:: with SMTP id gw19mr31712868ejb.272.1608888992320; Fri, 25 Dec 2020 01:36:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608888992; cv=none; d=google.com; s=arc-20160816; b=d/0mxjNpvyHbXPWL4Jb0vtwcO+F/WygDdP+cpEJ4kwYm/mbiyCqB92eJxeHxwQlMtG 6SwDfbLeeHAEThWKss6u/LFzanGjtt2mzIeLSz4h3uFjgwEOm3RGIFcPunuZ7m6mWP7F LhVk7cezFQnL1n9Cw7RBKoLjoddGkprdsFyE58FUnxE6hgb+Kd/3AhOb/ZF9YRTUk+HX VWoxRLKpqjHm/YCLSnefWEERuSnBvGQyLWz5Qn7CBzJhK1TVetqmjiJbWy0dNCKvKgS6 hR48cbP39yJ8R4JCXV2STSiuxUBc5InubdIJN0dC54jk1NDWKZaYaHKqRPmb8TgqzQMb nakg== 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=mHNK/jSRqhp/nw2tUEbk4PkeDOdzxXTB1a3Fnu1Butg=; b=yM6bvSvatvCugjTtg6MCqVoBXQKxaaAFZG8Tdn1NB0NujuGLjt4lw7Y/jloEXOjK1Q zjLZXjLPag4SIC3SADhZf2Mqfm277xhk+NfaEWNhyu+vDigbACTJgXjusUvyAIhOr5CD +X5UTf7eY9f326YRzYab/kJsEB08zY6HnJUcwb9wPxcMUDtpLqBzN0dbYz/dj+uCT0cw REggL303LYcbWsBQ5M+XnopcPghdCWPka7FFO/69LfQhcgHENnuNUuyYOhgZfURwMBxC wIVANQRF2S8VmkTY084VPR0wkZAkTXKryW5mXqADaYicEVsinRNh0bJRSWyJ64oHMnVz E4sQ== 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 o7si16168225edq.20.2020.12.25.01.36.10; Fri, 25 Dec 2020 01:36:32 -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 S1729391AbgLYJeg (ORCPT + 99 others); Fri, 25 Dec 2020 04:34:36 -0500 Received: from relmlor1.renesas.com ([210.160.252.171]:32384 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729196AbgLYJeK (ORCPT ); Fri, 25 Dec 2020 04:34:10 -0500 X-IronPort-AV: E=Sophos;i="5.78,447,1599490800"; d="scan'208";a="67150503" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 25 Dec 2020 18:33:36 +0900 Received: from localhost.localdomain (unknown [10.166.252.89]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 3ECCA40178DA; Fri, 25 Dec 2020 18:33:36 +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 v8 08/12] gpio: bd9571mwv: Add BD9574MWF support Date: Fri, 25 Dec 2020 18:33:23 +0900 Message-Id: <1608888807-3117-9-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1608888807-3117-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1608888807-3117-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 similar 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