From patchwork Fri Sep 27 10:04:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 1168389 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=bootlin.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 46fnT11SKFz9sPS for ; Fri, 27 Sep 2019 20:04:20 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726251AbfI0KET (ORCPT ); Fri, 27 Sep 2019 06:04:19 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:58611 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726030AbfI0KET (ORCPT ); Fri, 27 Sep 2019 06:04:19 -0400 Received: from localhost.localdomain (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: paul.kocialkowski@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 0DFE524000D; Fri, 27 Sep 2019 10:04:15 +0000 (UTC) From: Paul Kocialkowski To: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Walleij , Bartosz Golaszewski , Rob Herring , Mark Rutland , Lee Jones , Thomas Petazzoni , Paul Kocialkowski Subject: [PATCH v3 0/5] LogiCVC mfd and GPIO support Date: Fri, 27 Sep 2019 12:04:02 +0200 Message-Id: <20190927100407.1863293-1-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This series introduces support for the LogiCVC GPIO block to the syscon GPIO driver, with dt bindings documentation also including the top-level mfd component. Changes since v2: - Fixed dt schema examples. Changes since v1: - Converted dt bindings documentation to dt schemas; - Used BIT macro and removed version from structure name; - Improved documentation example with gpio-line-names; - Added vendor prefix to dt bindings; - Added mfd component dt bindings documentation. Cheers, Paul Paul Kocialkowski (5): dt-bindings: Add Xylon vendor prefix dt-bindings: mfd: Document the Xylon LogiCVC multi-function device gpio: syscon: Add support for a custom get operation dt-bindings: gpio: Document the Xylon LogiCVC GPIO controller gpio: syscon: Add support for the Xylon LogiCVC GPIOs .../bindings/gpio/xylon,logicvc-gpio.yaml | 69 +++++++++++++++++ .../bindings/mfd/xylon,logicvc.yaml | 50 +++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + drivers/gpio/gpio-syscon.c | 75 ++++++++++++++++++- 4 files changed, 193 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/gpio/xylon,logicvc-gpio.yaml create mode 100644 Documentation/devicetree/bindings/mfd/xylon,logicvc.yaml