Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12F24C6FD19 for ; Mon, 13 Mar 2023 17:11:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230128AbjCMRL3 (ORCPT ); Mon, 13 Mar 2023 13:11:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbjCMRLX (ORCPT ); Mon, 13 Mar 2023 13:11:23 -0400 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2ACE77DD0F; Mon, 13 Mar 2023 10:10:48 -0700 (PDT) Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 1674A20765; Mon, 13 Mar 2023 18:09:54 +0100 (CET) From: Francesco Dolcini To: linux-gpio@vger.kernel.org Cc: Francesco Dolcini , Linus Walleij , Bartosz Golaszewski , linux-kernel@vger.kernel.org Subject: [PATCH v3 0/2] gpio: fxl6408: add I2C GPIO expander driver Date: Mon, 13 Mar 2023 18:09:48 +0100 Message-Id: <20230313170950.256964-1-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Francesco Dolcini Add support for Fairchild (now ON Semiconductor) fxl6408 8-bit I2C-controlled GPIO expander, see data-sheet [0]. [0] https://www.onsemi.com/download/data-sheet/pdf/fxl6408-d.pdf v3: * dt schema * add Reviewed-by: Krzysztof Kozlowski krzysztof.kozlowski@linaro.org * driver * add include files: kernel.h and err.h * refactor of fxl6408_identify and used dev_err_probe instead of dev_err v2: * improved commit messages and titles * dt schema: * remove "driver" word from yaml * simplify gpio-hog property definition * rename fcs,fxl6408-gpio.yaml to fcs,fxl6408.yaml * add missing SoB * driver: * remove includes: and * add missing and required select REGMAP_I2C in KConfig * use dev_err_probe() * add "Datasheet:" tag in commit message * improve KConfig help section * fix newlines, multi-line comments and trailing commas Emanuele Ghidoli (2): dt-bindings: gpio: add fcs,fxl6408 gpio: fxl6408: add I2C GPIO expander driver .../devicetree/bindings/gpio/fcs,fxl6408.yaml | 58 +++++++ drivers/gpio/Kconfig | 10 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-fxl6408.c | 158 ++++++++++++++++++ 4 files changed, 227 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml create mode 100644 drivers/gpio/gpio-fxl6408.c -- 2.25.1