From patchwork Sat Jul 17 04:56:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 479413 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, 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 9EF19C6377B for ; Sat, 17 Jul 2021 04:57:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 82005611BE for ; Sat, 17 Jul 2021 04:57:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232303AbhGQFAK (ORCPT ); Sat, 17 Jul 2021 01:00:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231564AbhGQFAD (ORCPT ); Sat, 17 Jul 2021 01:00:03 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45689C061760 for ; Fri, 16 Jul 2021 21:57:06 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id p17so6304758plf.12 for ; Fri, 16 Jul 2021 21:57:06 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=iH5hOIug88dJD4ivQ2NqJKjZ3aauEwcovfQ35jFjeCY=; b=aXVtX2M6WCascZlHmLoPsu3liAWTk6yKEq2cnbAvh1AHSX5i+9MuCCI9Vz2B2axT2h WycmsN/R3vsh6zQgwhtmAZx8ce1Gno09qvSwNSjSuMfp2+3uiRF7MuwbN0M881Spt1tT 5hDbMgDi/L07LfN0M0VcmsN6YxpgnQvhhENB4= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=iH5hOIug88dJD4ivQ2NqJKjZ3aauEwcovfQ35jFjeCY=; b=sepQiGVzS5oylTR9qn+1nLznZwiMvmwpaSm5OJuybF+Is5HF5wUpzCWXXCowThg+ml 79giSgUXh7MtRykatloSmYFg4c8IqjpiFQPTvWBZXkynea085ur99JQPl0Tf25QITZpH 7wF/qYqyF/Cfkw449HRSO9jqmIM/J0N3nQgkOxymgddFG/N3BXwnGfSLF+krO+xYGXna CJzKzCchUiHCEijBBsmsYBKS60kJu/MVRe1Fw+6AUJ2Yalw9Cms9qEmrKR7UaMOl9Vtz ERYdV6KRIXFrmfy1NKyyivkSPNr4LQOzq5nmqLgfbGDlBNHP7ipEl5xlqPSWIfYWtK3b rErQ== X-Gm-Message-State: AOAM530US6/ri+dOPN0vBMvE9TokgxTC5jER+TudS5/0Z/DMXI1ixsOe jQqJf2cgbr1fLr1dA//lHIXnDg== X-Google-Smtp-Source: ABdhPJxdUypLTJ2BGFwx4JvhhuK6TYm5Fi8cmR+3/peM5Zh23rIIOV1c6rkmsHihycY3XP2/cRv5Gw== X-Received: by 2002:a17:90a:cd01:: with SMTP id d1mr19035743pju.106.1626497825779; Fri, 16 Jul 2021 21:57:05 -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.57.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jul 2021 21:57:05 -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 10/10] ARM: dts: mstar: unitv2: Add wifi switch Date: Sat, 17 Jul 2021 13:56:27 +0900 Message-Id: <20210717045627.1739959-11-daniel@0x0f.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210717045627.1739959-1-daniel@0x0f.com> References: <20210717045627.1739959-1-daniel@0x0f.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add a GPIO controlled fixed regulator for the Realtek WiFi connected via USB. Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mstar-infinity2m-ssd202d-unitv2.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/mstar-infinity2m-ssd202d-unitv2.dts b/arch/arm/boot/dts/mstar-infinity2m-ssd202d-unitv2.dts index 648751a1b27e..525305a3e3ac 100644 --- a/arch/arm/boot/dts/mstar-infinity2m-ssd202d-unitv2.dts +++ b/arch/arm/boot/dts/mstar-infinity2m-ssd202d-unitv2.dts @@ -56,6 +56,14 @@ vcc_dram: regulator@2 { regulator-max-microvolt = <1500000>; regulator-boot-on; }; + + vcc_wifi: regulator@3 { + compatible = "regulator-fixed"; + regulator-name = "vcc_wifi"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpios = <&gpio SSD20XD_GPIO_GPIO14 0>; + }; }; &pm_uart {