From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9088C636CD for ; Sat, 17 Jul 2021 04:57:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 809BF613E3 for ; Sat, 17 Jul 2021 04:57:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230054AbhGQE7k (ORCPT ); Sat, 17 Jul 2021 00:59:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbhGQE7i (ORCPT ); Sat, 17 Jul 2021 00:59:38 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1C84C06175F for ; Fri, 16 Jul 2021 21:56:41 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id y3so1932398plp.4 for ; Fri, 16 Jul 2021 21:56:41 -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=ziJ5YcGkSYbFL2uIt1IxWQA6HzWtHmBZYzfxdUp5I6c=; b=K7+Rv0oJRgRDFEpvFX6Ft5pXHMgu/hm0jwFUyb08BgQRjeav1m4xGAQtEa9jO33cq+ n3OH/Dqx4ovhxBoTCdgoaxHsL9AX7PavBXWhlvufUoYp56h39PxBzdjBW6mV4MyYn0Rz +yse2idj2uxvPSI25vBIRJrddVfydfjvMv7Lc= 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=ziJ5YcGkSYbFL2uIt1IxWQA6HzWtHmBZYzfxdUp5I6c=; b=H+9os7GbLy3IQrNcIlTEwhMyvo/vRPLoRYhJqR+owQGK5va6qc/kbmjZGhYd8NETII MCKutZO/7tk0JxV0poobkIXEAA+tYTXIkVjGg01FeZhhW699+9usXB0HcpQtMHtJ1b21 7/RBqFp1DUZ13C+rZNovovkw4/eIF5M8yNkRKJdzUjJY0tm9z8IiRp37Op8zOrlx9UV6 9XoOzssNB/bdqP9Ds9Vx/cfdkN0o3MLXcGLdu3Nf/CnyNg7KPr6nI23h4VSVfiaJxcD3 8kEL3knxEuDwwj2LHC2ELjQaSmQVkWuPmNVFd3aniZ3br2J8D3EtK3Erdm2Yx18mKVsh GBUQ== X-Gm-Message-State: AOAM533baobBK+6JBgAItp9PuK24ILN3EcmaRhifuQ4XsQbnV6COcsKe X/BNa9JYk1yE3iIn8cwGuK842A== X-Google-Smtp-Source: ABdhPJzgzeOYl4W876FC7nvH5fuQ1vgG4J02K3X92aZRMt4lEiA6u7OIuKU1IKl/46HEBWnaEBURgQ== X-Received: by 2002:a17:90a:e54d:: with SMTP id ei13mr18752850pjb.187.1626497801110; Fri, 16 Jul 2021 21:56:41 -0700 (PDT) Received: from shiro.work (p866038-ipngn200510sizuokaden.shizuoka.ocn.ne.jp. [180.9.60.38]) by smtp.googlemail.com with ESMTPSA id w2sm12522885pjf.2.2021.07.16.21.56.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jul 2021 21:56:40 -0700 (PDT) From: Daniel Palmer To: devicetree@vger.kernel.org, linux-gpio@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linus.walleij@linaro.org, robh@kernel.org, romain.perier@gmail.com, Daniel Palmer Subject: [PATCH 00/10] gpio: msc313: Add gpio support for ssd20xd Date: Sat, 17 Jul 2021 13:56:17 +0900 Message-Id: <20210717045627.1739959-1-daniel@0x0f.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a little series to add a compatible string for the Sigmastar SSD201 and SSD202D to the msc313 gpio driver, add the specific offsets for the pins on these chips, and then a bunch of DT wiring stuff so that the LEDs on the M5 stack unitv2 work and it can control the power switch for the USB connected. Daniel Palmer (10): dt-bindings: gpio: msc313: Add compatible for ssd20xd dt-bindings: gpio: msc313: Add offsets for ssd20xd gpio: msc313: Code clean ups gpio: msc313: Add support for SSD201 and SSD202D ARM: dts: mstar: Set gpio compatible for ssd20xd ARM: dts: mstar: unitv2: Wire up LEDs ARM: dts: mstar: unitv2: Add core regulator ARM: dts: mstar: unitv2: Add io regulator ARM: dts: mstar: unitv2: Add DRAM regulator ARM: dts: mstar: unitv2: Add wifi switch .../bindings/gpio/mstar,msc313-gpio.yaml | 4 +- .../dts/mstar-infinity2m-ssd202d-unitv2.dts | 46 +++ .../boot/dts/mstar-infinity2m-ssd20xd.dtsi | 5 + drivers/gpio/gpio-msc313.c | 266 +++++++++++++++++- include/dt-bindings/gpio/msc313-gpio.h | 71 +++++ 5 files changed, 387 insertions(+), 5 deletions(-) -- 2.32.0