Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2284488ybt; Tue, 16 Jun 2020 01:53:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9hJSUYMEN0vtlfbuQ6gafAfOEC5Bmw0KQoK/rJALIaz0Yj9zbe02CfHeFXGEonDSnDQbY X-Received: by 2002:a50:934e:: with SMTP id n14mr1596922eda.88.1592297593411; Tue, 16 Jun 2020 01:53:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592297593; cv=none; d=google.com; s=arc-20160816; b=IbloZGZcCr4FseD4YrjAi0QuVEExZ/2REbsiAgscp6Fg39eIdVxJau12c/OKXfq1eA V523SBslVGfUoSJ19Ev7R/RXNt5+h2pLC5MP7QJg3yi9PISyxydMbMKvo1n7LJ2Rylcp tT5bqpdQrGPQlT0iU9xBlUIFJPkFnSjmvIPHz8XSG62rq37cUNLAD0nCsK071tWbRDVa czFcmKOQSMO2RAaC6u6eMglgsbK46D82T3C6QkxD3lN5ohvwcFjUPFSDT4ufDgdJJW5L u6k4h/LqZslQiCn/Qa8khfRJuj6zttBvrmjImUqnzjYj8SDDB4+ROnI7XMiSjRPJ3lNQ RV8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=4t3Xqwr79G87+mJaR9fguFknMk+FUvhA8KmaEt177vQ=; b=eXalX5wrZYqVCEV0OKbjuwe2lCQW+lvObJRx7IZdj6u5PBpUO639NmNVvfYbT4g7CI 0rYwgItaJcN7b85dv8YHnS73fNnDq4Sc6Z3T2Y3ZxIaV+DqaimKhZUxk9DSJy04dD5A7 fM3fssYFzBlGw6mrk21x+8oh8R3Qq+S9L5EdkQZK1kLXvQCeL6YPhGvjndgXsmqxBSfC u88ubP3JFTvLiHwT84DS5hfNF2LLD9vyJsxOcOzzldKEZb6q9eVB/kDVQngnCoJLw9mT 9wBD+TXMOR2lcbXD7I5gAfib8I6kmdGrzoYQUGaV05KcgIOgHOnEaT4F0St/oRLai16/ GmlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=R6czlWCQ; 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 d12si569469ejw.465.2020.06.16.01.52.51; Tue, 16 Jun 2020 01:53:13 -0700 (PDT) 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=R6czlWCQ; 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 S1728016AbgFPIua (ORCPT + 99 others); Tue, 16 Jun 2020 04:50:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726840AbgFPIua (ORCPT ); Tue, 16 Jun 2020 04:50:30 -0400 Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBF76C05BD43 for ; Tue, 16 Jun 2020 01:50:29 -0700 (PDT) Received: by mail-qk1-x744.google.com with SMTP id n11so18413310qkn.8 for ; Tue, 16 Jun 2020 01:50:29 -0700 (PDT) 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:content-transfer-encoding; bh=4t3Xqwr79G87+mJaR9fguFknMk+FUvhA8KmaEt177vQ=; b=R6czlWCQdPPI+IblkY8cTz8xoyh4JQuwrSDZW01KPtdwGZvBh1daPbeSCuZCQbHwQy 5HUDEFAi/XOI0WDzAO6NeSk76UnaD/I66hzsEN2XYqOQEUlos/VWC0P8LrxHxAdM8jrh TD7QBO97joe0FRYUAHfqJsKYX1xQ8DwSWLH7W3ri3mwZziqcRMb3l8QFUjWMQ2dYrDEz U6tIihwEg5v/WcekDHgL2Km3TGWYW5Yqru9VRKq3MDXyiaQghtwfylHFBZNYB54G8LzU lbuycYEnvZPzIhniy61GHEjzRB/2txBTTOtutXEEyYqIBlsteCBS0e8dli8icPUe2c/d cRfA== 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:content-transfer-encoding; bh=4t3Xqwr79G87+mJaR9fguFknMk+FUvhA8KmaEt177vQ=; b=TQl17Zb1VOIIUywFXAhqVIQLevc8d+SFEwyJ2wkXP7zr0Y1IDtZFUT5ouxDwmSZgjo VEeGWMDf2vErJUA+PVI78Zaru8EhbCWsfO+BtHU4FzE8xwQhym+sQA632K6JSvrHgdo3 3ZyONoUDVar174pVeKjED3looEefooDdCQVUxDiqLOsZACZNtvEM/X0SGr7qiu6GMRzJ Ac9ORxrUO9goYYzHifNMyJNS9OcDVNH/zbTJKuY/gZ8K+u4eQ4C8Y5lRnJp3392XNVoe DNMwoczCnfbGygt5w7OKzg0ljpA8cMsN8CwfSyf4xCDCffz9WlgYFC4Pzk9JJqR81A2b eBgA== X-Gm-Message-State: AOAM532MsQ1qgCaBTuo2dIQ+I8djInS8eWZ5MRAZuuEbIwkcW6LyMnFS buRBZd/x6exKa0EuR8RhydUvkC2bq0OUAP6Hv2rM7A== X-Received: by 2002:a37:4ac6:: with SMTP id x189mr18595455qka.323.1592297429112; Tue, 16 Jun 2020 01:50:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bartosz Golaszewski Date: Tue, 16 Jun 2020 10:50:18 +0200 Message-ID: Subject: Re: [PATCH v3 2/2] gpio: pca953x: Add support for the PCAL9535 To: Jan Kiszka Cc: Linus Walleij , linux-gpio , LKML , Andy Shevchenko Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pon., 15 cze 2020 o 15:22 Jan Kiszka napisa=C5=82(= a): > > From: Jan Kiszka > > The PCAL9535 is compatible to the PCA9535. Additionally, it comes with > interrupt support and input latching. Other features are not supported > by the GPIO subsystem. > > Datasheet: https://www.nxp.com/docs/en/data-sheet/PCAL9535A.pdf > > Signed-off-by: Jan Kiszka > --- > drivers/gpio/gpio-pca953x.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c > index 1fca8dd7824f..cd5fb522563e 100644 > --- a/drivers/gpio/gpio-pca953x.c > +++ b/drivers/gpio/gpio-pca953x.c > @@ -89,6 +89,7 @@ static const struct i2c_device_id pca953x_id[] =3D { > > { "pcal6416", 16 | PCA953X_TYPE | PCA_LATCH_INT, }, > { "pcal6524", 24 | PCA953X_TYPE | PCA_LATCH_INT, }, > + { "pcal9535", 16 | PCA953X_TYPE | PCA_LATCH_INT, }, > { "pcal9555a", 16 | PCA953X_TYPE | PCA_LATCH_INT, }, > > { "max7310", 8 | PCA953X_TYPE, }, > @@ -1145,6 +1146,7 @@ static const struct of_device_id pca953x_dt_ids[] = =3D { > > { .compatible =3D "nxp,pcal6416", .data =3D OF_953X(16, PCA_LATCH= _INT), }, > { .compatible =3D "nxp,pcal6524", .data =3D OF_953X(24, PCA_LATCH= _INT), }, > + { .compatible =3D "nxp,pcal9535", .data =3D OF_953X(16, PCA_LATCH= _INT), }, > { .compatible =3D "nxp,pcal9555a", .data =3D OF_953X(16, PCA_LATC= H_INT), }, > > { .compatible =3D "maxim,max7310", .data =3D OF_953X( 8, 0), }, > -- > 2.26.2 > Patch applied with Andy's review tag. Bart