Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13256267pxu; Sun, 3 Jan 2021 07:50:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwl3D/sJajuTwgxE7BeDZxMz46Bn6pCFfymcjo9cjKirQWBgTFPoKCuY29i/lP7POMzx+oV X-Received: by 2002:a05:6402:1593:: with SMTP id c19mr68486346edv.269.1609689012309; Sun, 03 Jan 2021 07:50:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609689012; cv=none; d=google.com; s=arc-20160816; b=0FfBWnq0G6Mgym0T4tQ5k1JxkrysSHz7VULcLHscyzTiO4I/Only7cNi0X5ggx81Ve IpbcVuonXly7B7O3fToQ9wvrn/yKwiKMJjFN2lulUhyvT/Dkg4z4cCbDHKSWXzAnolAQ Zh9fXfyMnCUXPsVDfTkxDApuSgon15wEleF54lm0wrl67ja0aUurF8xFJjmKE1xKTR2l SPogZOe4bf6XUY9EnEuLX5EcuGGBEaj5TPTFXK1FUgYxaQatCv/rd/JNn7pCRCn2oq3b oa3BegL9WgYLTvwNtNt/qFeBjp6ph+jsL4cZ/2uGOtezIjSv2XfhgxNjCUJewKCAF8wi DJXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=FAsNHJ04qXj7NOFemNU/AVYo7sQyesbZ2/ZS+gTz3yY=; b=Z3oecX7QyapSo2SQ1qVqdf+nX8PHGq+l0SIgj8HuHXbOJ2Igg2lwCTZ57xoKUKRUir vTCoxxhFWDAOBqBCYHJlRLA0eVKQJtzsPncCuCvOxKj/xXdG+XaNxeibxD5cisTWKhMO NIFwMapit+l5sF9hFHhIv+CXOsmT3v4VW+356ofa2Atfp42IZ9WWD6Ve5K/IFRycbfgI lM0KlkZn1+xLB796lIgSfyxBZmXWsE/1jrM9wFpeDgWXaKfFr2vDFyYY2+5YQcXgtJAB OLIHrtqverw+Hxs2J+fG24/YhtDFQX8wiiKZsE9Frk2V/LfkFImrwFV6kS0P4QEcE0Hg ZDyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=JYStzbrc; 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 dv23si26783030ejb.408.2021.01.03.07.49.49; Sun, 03 Jan 2021 07:50:12 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=JYStzbrc; 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 S1727220AbhACPgY (ORCPT + 99 others); Sun, 3 Jan 2021 10:36:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726210AbhACPgX (ORCPT ); Sun, 3 Jan 2021 10:36:23 -0500 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F220C0613D3 for ; Sun, 3 Jan 2021 07:35:43 -0800 (PST) Received: by mail-ed1-x52f.google.com with SMTP id p22so24629017edu.11 for ; Sun, 03 Jan 2021 07:35:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FAsNHJ04qXj7NOFemNU/AVYo7sQyesbZ2/ZS+gTz3yY=; b=JYStzbrcOZUug6PTnGMSalnVKB1OTR2Wn9Fk4lykj36+spy/fvNmamuH0Qp7qr5v26 sWOVY/wrLndB6durZ3aP1Cr1CwKksyviRJZFbBatqyxBxje1As3qeBB0OOqX6dPGetIY xoCF6ZPGFGCM9aEcmtoKUisOuSU5vqkhwAxQhNmlMv6BCzRnEV3gXlH/Lazo4T8x6uc4 vudyTLLvpYMHqqveOQDukY3FI8/L+B8Od4+LNHVOrmVCNJsv+oV9HGmhhlHh1ldsairv Fy5jpMRJJNlyeSrpwGJCyUI79AYxtQEPeYAYd/bBDp4RTtpuiQU1/46TnkGpW59jGwKV TN3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FAsNHJ04qXj7NOFemNU/AVYo7sQyesbZ2/ZS+gTz3yY=; b=H7xvdenOCEyI5zP8AxCT9oNpbA4Ta4wTka9nE0fRVKR8HSbbwIgKgLi4RrGWFdLZC5 wYPy8oV+B/fMQwwrPNE+J1H9ov9QCwa1SruW1pklYZpLzqqcUei1Nrq3GjIXZ3rcbGQG TbzrZn5pr7RzAtWZoOluy7s8NXABWC70oavzI61mTXjXzPzejgXrLUyWeCdzaU8uwXpw slyLe2e5mTQS8d8ImJ+b4bODijF6GQarTBJphTq5vsNMWOFk+WzkOQvWxTGcKWRrW0Yg UwGwdtiRSGBPe6KaklFCkaGr++dzksDw7nEjYo8fYdJWhAO4ca5Ykgde6TxmYl5dxgbq jj3w== X-Gm-Message-State: AOAM532VjAGjwB+0FKyY6hsuuTm94uqZ+8oiVM67z6vOYa+ddAvd2f9z IILZSz+sJMjr9h9PTfNKDLOGU8+J73C1WNQjw/9Vmg== X-Received: by 2002:aa7:cc15:: with SMTP id q21mr67477267edt.213.1609688142047; Sun, 03 Jan 2021 07:35:42 -0800 (PST) MIME-Version: 1.0 References: <1608888807-3117-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> <1608888807-3117-9-git-send-email-yoshihiro.shimoda.uh@renesas.com> In-Reply-To: <1608888807-3117-9-git-send-email-yoshihiro.shimoda.uh@renesas.com> From: Bartosz Golaszewski Date: Sun, 3 Jan 2021 16:35:31 +0100 Message-ID: Subject: Re: [PATCH v8 08/12] gpio: bd9571mwv: Add BD9574MWF support To: Yoshihiro Shimoda Cc: marek.vasut+renesas@gmail.com, Lee Jones , Matti Vaittinen , Liam Girdwood , Mark Brown , Linus Walleij , khiem.nguyen.xt@renesas.com, linux-power@fi.rohmeurope.com, linux-gpio , Linux-Renesas , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 25, 2020 at 10:33 AM Yoshihiro Shimoda wrote: > > 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 > Acked-by: Bartosz Golaszewski