Message ID | 20230313113308.157930-1-francesco@dolcini.it |
---|---|
Headers | show
Return-Path: <linux-gpio-owner@vger.kernel.org> 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 698D6C74A4B for <linux-gpio@archiver.kernel.org>; Mon, 13 Mar 2023 11:34:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230130AbjCMLe3 (ORCPT <rfc822;linux-gpio@archiver.kernel.org>); Mon, 13 Mar 2023 07:34:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229649AbjCMLe1 (ORCPT <rfc822;linux-gpio@vger.kernel.org>); Mon, 13 Mar 2023 07:34:27 -0400 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D78717146; Mon, 13 Mar 2023 04:34:01 -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 70C6D20B16; Mon, 13 Mar 2023 12:33:14 +0100 (CET) From: Francesco Dolcini <francesco@dolcini.it> To: linux-gpio@vger.kernel.org Cc: Francesco Dolcini <francesco.dolcini@toradex.com>, Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] gpio: fxl6408: add I2C GPIO expander driver Date: Mon, 13 Mar 2023 12:33:06 +0100 Message-Id: <20230313113308.157930-1-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-gpio.vger.kernel.org> X-Mailing-List: linux-gpio@vger.kernel.org |
Series |
gpio: fxl6408: add I2C GPIO expander driver
|
expand
|
From: Francesco Dolcini <francesco.dolcini@toradex.com> 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 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: <linux/gpio.h> and <linux/of_platform.h> * 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 | 152 ++++++++++++++++++ 4 files changed, 221 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml create mode 100644 drivers/gpio/gpio-fxl6408.c