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=ham 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 79E87C636C9 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 4BB24613E3 for ; Sat, 17 Jul 2021 04:57:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229918AbhGQE7j (ORCPT ); Sat, 17 Jul 2021 00:59:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbhGQE7i (ORCPT ); Sat, 17 Jul 2021 00:59:38 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8F55C061760 for ; Fri, 16 Jul 2021 21:56:41 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id x13-20020a17090a46cdb0290175cf22899cso2039077pjg.2 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=tmV0p7/jtysGL3oyxklmCAbbONfEebY1cthDDQ/PzZSmgl+4xXohPuhGcrAIdy/Q3h jt1TX4eteplK47X8CazYoL9f21XIjmIvrEs9JSuKnB8ya+dNfmzThfxVTTBknHDeEazX dgeQEmwEIfzquRItqVrCIUJ0KM/wDa2jWIpEQCiQV6bCipoBAgISdEO3iMofnGXcwUae xQ/5cKZkocBBrtzJvG3KXmzWCe5BusHOZrEyQeFFKLDbvRc7y4Fi/biqBX/w07AwJF6f EikzteMJBUPJyoI6Z3MIDgdcX5z/eXchu5mzSrhm/xg2d6eEsBx83ndLwOMRLBPn7y2c Ts8g== X-Gm-Message-State: AOAM5330UpvPu4/QK+8eUylNx7mr/FD3/uTdC4Ut1Oj1xuqb4aKCF6wd LbA7YJocVB0dRomIHEpnk+SORg== 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-gpio@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 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=-12.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 56AA0C636CD for ; Sat, 17 Jul 2021 04:59:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 296EA613D9 for ; Sat, 17 Jul 2021 04:59:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 296EA613D9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=0x0f.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=VLRUVELhUG/XUmAygSGqJjqRkFNlMJhfiSHDrx4+51Y=; b=kxQjvIXcZ9g6un /Y1sZJrLECBV+cA/7NqLK8nVMJJxLxQcMjxCrDO9P0LsIzIer+1AFjiKBVKF+FD87+coeS36S/hc6 xB/ffpaMIL5iTy0921bYK+kWrEl/UsOA/0Ic/hIkQsz6Bh05OWEYvaCwJtnHyYCg9V+NrOQEF5DDN Ul12zw13brSVKEaNSkHCUA8S5wY73zs6/UkvyK/wtblrnZmTZ+vo3IjJh1tyI2AKE9016GqO9AkzI YrY5eTCadkhtRMDNkoHMa3WvmBPw52AmaTeFyKswtgPCTF8ssXTWrEycSWqMDe6bYs609AYRJg4mS 0F951ko0576UWVYod/CQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4cNb-005wQ2-P8; Sat, 17 Jul 2021 04:56:47 +0000 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4cNY-005wPG-11 for linux-arm-kernel@lists.infradead.org; Sat, 17 Jul 2021 04:56:45 +0000 Received: by mail-pj1-x102d.google.com with SMTP id jx7-20020a17090b46c7b02901757deaf2c8so7987739pjb.0 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=ZGeFAKkI3AnjQojn7zvfkIxz2+Y/z04DadlW7eLxupJGN8nYqZt8lbkYhE87cSZd0c 6UC2RVXp/AjvTFc+5u4QRq8msCL7m6r+MEfdaCl5s+5LPVnZNXKFT5k3BGEX/YWq009E GXbUIb2v7teP5erTPlRzoqmKbTY/HNg467D1N4YKFGRca+11ENc8QEeIb+9CuMLbHuDS QRoPMyXII5h0RvhMSjcSaRr3fXhPIk5rJhmtQsOXiTjVSEuKh9jEha4+h9jith4avita f74FaSTtFvP9JPQM2LV9gxZQuRJYL/yrj7zycR7QLcTTtQGCHd9139wbAk6yFmD4UQBl rBBw== X-Gm-Message-State: AOAM533RpTAyN5Yyvki9ah9T6oH/IOWvwYvVy2Ndg6gKnVmuogTDvINn f/8MUC8D8SzAQUwQgOobz2kqyg== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210716_215644_228858_11363757 X-CRM114-Status: GOOD ( 10.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel