Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3474580pxu; Sun, 11 Oct 2020 11:00:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyK0Uc9FlP1npeUsRHr8jYcH6xzqAoJ9pyvLG7TwR9I5pHt8t4yT/+JrhHbCwwa1Akba8N1 X-Received: by 2002:a50:8745:: with SMTP id 5mr9992570edv.49.1602439215536; Sun, 11 Oct 2020 11:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602439215; cv=none; d=google.com; s=arc-20160816; b=rYrxlJMdRY+Nr/RKV3oqhJ8W9fNCVa0Ri9PytllZTh0yEr6ZEwq8w0ZggQOvM55fUl MB/mtls1TYJtIOnuZYOn5x8KL/4rLsPAuLnuwd0Ck58ZUV97CVRz7LMO6fADSVuFKR59 uGy6N2gO2Tiu9sVZvvbGnZzEkhMgfquKZEgiHFcQRbF3QA9c4RNr+UGOF6XQZLKC+shv 0J2YJQ52tKwZTbeFjNobHlUCPL19uMySqQtz2EIYBeworIpu83Mf1kYbGiZZ8lOVSgwY GXfll00YuVYQr01Xs9GBrxL6CzXUD+UsUXCVyyMmWb/RvRVUZ0Kvw4vN1DknUvCtTeAA A2EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=CRG92oMXy4E775EIK8O0DpmZIGdIMTpQqj/5ZSVtoLY=; b=re6pLZNfdg7X8YfXqL7KYzB+IwvuAmhgofhIGz9XslPgOwW16I/fmNZ3CE0tzx5dvL 5Q3LG6WDbyicDGMjlc22Gvt2pX+UB20OxXeh2GrK47Uhgc/upJpHCtXDhW+mlzi6guid e9uEqrXGNsko0kT6+/6SqerkYYiIUNgrXQTOsyP02BYMIvt7hdqQnShqGgBI+e1+C1kI jd8aTqxiylsbSo096Mxsa7EmYDAT5pS/nW3PfQHAQRE2Xtc2i/nyweEOStNesWmkjDJV aD91kg9JRkZC4bKW2movJXYFDgNucQ5Vfhh0/vQD0Tm9mKjcalepy6TZYnLKwHDcaUYg kiHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=weHpStTx; 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 v10si9258660edi.16.2020.10.11.10.59.52; Sun, 11 Oct 2020 11:00:15 -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=@0x0f.com header.s=google header.b=weHpStTx; 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 S1730391AbgJKCso (ORCPT + 99 others); Sat, 10 Oct 2020 22:48:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbgJKCso (ORCPT ); Sat, 10 Oct 2020 22:48:44 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48960C0613D0 for ; Sat, 10 Oct 2020 19:48:44 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id x13so7710665pfa.9 for ; Sat, 10 Oct 2020 19:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CRG92oMXy4E775EIK8O0DpmZIGdIMTpQqj/5ZSVtoLY=; b=weHpStTxuhYPS7lmPZL9/pJezwwh8vwwWkoW6OYqSbVgsTSXnrXBooo9Sk4tOL5x3P +mfDH6ATV9zyNC5hHUn2edNR+Z5+Q0RRNkweW7QjWgScac4PPlgLsgmAAXCCqnLEh3OP 3lW437RBQZLGsCOK7W4+YS0hpVROGZ/Iy7v1k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CRG92oMXy4E775EIK8O0DpmZIGdIMTpQqj/5ZSVtoLY=; b=BkFSVa+nkvaINgxbdV2gpe6jdx0mTFclbb9LEwyr/otuXUhemx10rHRYfHwNYGcpyC FijMwOtQ57Ddmcwp26hP2Ywyl9yXxQ5RNgK69ZZ/wNEWl8K+55mHUIeCzSg+xFOZtKZ8 EdkUhCSezV0Bv9rSwx4wbt3fEL8tbkpg/5rwrvKgUug//E++/iB+QNNUtU3OFmEjjfly DByQSG1Q+exBfNRM/oLmUJEQQFmxDWDZn5PsT3Kt3w8wmT546jlZfY+Mx2+YqP4bjPYs IHn3u7Eeh8csUkJjmnBWs+ktcBzJCbGn2lYwvxRh66hII7pNwG9d0gohZODaW6mm7TTp Zjtg== X-Gm-Message-State: AOAM532c9N4pcdHwrQHP8xQZrWcwdEA9MvBBW8lxiYnSiHKoc0F58qIz UJK83msoqhuwuq2rnAz9wEdTsITMSm/3Mw== X-Received: by 2002:a17:90b:128f:: with SMTP id fw15mr9908083pjb.107.1602384523344; Sat, 10 Oct 2020 19:48:43 -0700 (PDT) Received: from shiro.work (p1268123-ipngn200803sizuokaden.shizuoka.ocn.ne.jp. [118.13.124.123]) by smtp.googlemail.com with ESMTPSA id z25sm14832836pgl.6.2020.10.10.19.48.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Oct 2020 19:48:42 -0700 (PDT) From: Daniel Palmer To: linux-gpio@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Daniel Palmer Subject: [PATCH 0/5] Add GPIO support for MStar/SigmaStar ARMv7 Date: Sun, 11 Oct 2020 11:48:26 +0900 Message-Id: <20201011024831.3868571-1-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At the moment the MStar/SigmaStar support is only really capable of shell from an initramfs and not much else. Most of the interesting drivers are blocked on clock and pinctrl drivers and those are going to take me a little while to get cleaned up. Clock and pinctrl aren't needed for basic GPIO to work (all pins start off as GPIOs..) and it makes it possible to actually do something so this series adds everything that is needed for the main GPIO block in these chips. Daniel Palmer (5): dt-bindings: gpio: Binding for MStar MSC313 GPIO controller dt-bindings: gpio: Add a binding header for the MSC313 GPIO driver gpio: msc313: MStar MSC313 GPIO driver ARM: mstar: Add gpio controller to MStar base dtsi ARM: mstar: Fill in GPIO controller properties for infinity .../bindings/gpio/mstar,msc313-gpio.yaml | 69 ++++ MAINTAINERS | 3 + arch/arm/boot/dts/mstar-infinity.dtsi | 16 + arch/arm/boot/dts/mstar-v7.dtsi | 7 + drivers/gpio/Kconfig | 9 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-msc313.c | 341 ++++++++++++++++++ include/dt-bindings/gpio/msc313-gpio.h | 95 +++++ 8 files changed, 541 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/mstar,msc313-gpio.yaml create mode 100644 drivers/gpio/gpio-msc313.c create mode 100644 include/dt-bindings/gpio/msc313-gpio.h -- 2.27.0