From patchwork Mon Apr 30 23:24:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10373061 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5B27C60116 for ; Mon, 30 Apr 2018 23:24:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 476822884F for ; Mon, 30 Apr 2018 23:24:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B708288B2; Mon, 30 Apr 2018 23:24:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D50E22884F for ; Mon, 30 Apr 2018 23:24:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753257AbeD3XYo (ORCPT ); Mon, 30 Apr 2018 19:24:44 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:51216 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752614AbeD3XYn (ORCPT ); Mon, 30 Apr 2018 19:24:43 -0400 Received: by mail-it0-f65.google.com with SMTP id n202-v6so11267825ita.1 for ; Mon, 30 Apr 2018 16:24:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=x/SNixn9V/W2e7q7HlPGfF9hLaZzdBUQmsRyc7MB9vs=; b=asnCL4HmPU72ygc7OlrtAR0RQ0Wc2/8djLQ9u0J31IpO6S2aUJyYBy4OWa/r5NHf3h bW3a52gkiekS7ghoi2Z0tXOUCk8Zw89Qwtt6P8U56a3ddCbf0A2qaZ9nJ2rVw1rZiHqv tQMNMGcjZMaUhnEDKCunXVRI6Vo86dham4D7ebXih2FJ210+dOQd6z5g4Yiy+urMHqGe QL+Aahu112k1aHSgXW0vleccHXbXQ4p/YHSaFXYpvJvwOjsLGosnEfsZ24KMIrefJqZm 7x2LIrhP4l7xlgwwZIOuzLNWP6g9M36vseY5DlYGXdDnfPM2WcWV2IMQqF6gfLL7TDWE uwgQ== 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; bh=x/SNixn9V/W2e7q7HlPGfF9hLaZzdBUQmsRyc7MB9vs=; b=Fn/HGDWqU0tgvOx+GAi3nCYYHKx75E58TlN0Ji9KT7QBkRx4M+0lTskhCIqsLuL+lq b2b8B8PQTNVZUcUkm8duhe9t5AHUheghUUyYIzhG7PaP3uUjFeQiKvly7LZqExQIaJ/w 7xH92zizIVdmy1+C4Snugq4rNpoeaI5gd/GyX/2FLN2FHumk0ohHkTpXWdpCqlJTcbNr OKiDP9eOvCMoS1y7+kn3DOrGR4EYeAfKWXk3NkuybsYDG5IBwXPjNJMo0nUfQ2wWZckk P29uCbERN1vfLpCzlkBlocSrOTLJQ93M8vz7tr+9cuFb99sEaBmjAcDbbuTfY9QGJnuK w6AA== X-Gm-Message-State: ALQs6tBbm2kuUNrb2C5ruZpQm49C0t2TZIkB1oo9D6rZdQIflnv6yTUT bR3TPL8JUQleXdZMcNw06aSiaQ== X-Google-Smtp-Source: AB8JxZo0GlmPCTzoDVai1fjrwzIitEjbgVTboSR/Fgu6UMbFobZd7t1XANdi/hrAT0tFWZICo6qcpQ== X-Received: by 2002:a24:6286:: with SMTP id d128-v6mr7672013itc.9.1525130682506; Mon, 30 Apr 2018 16:24:42 -0700 (PDT) Received: from localhost.localdomain (c-73-65-120-235.hsd1.mn.comcast.net. [73.65.120.235]) by smtp.gmail.com with ESMTPSA id 199-v6sm4001051itl.26.2018.04.30.16.24.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Apr 2018 16:24:42 -0700 (PDT) From: Adam Ford To: linux-omap@vger.kernel.org Cc: adam.ford@logicpd.com, Adam Ford Subject: [PATCH] ARM: dts: logicpd-som-lv: Fix WL127x Startup Issues Date: Mon, 30 Apr 2018 18:24:34 -0500 Message-Id: <20180430232434.12756-1-aford173@gmail.com> X-Mailer: git-send-email 2.17.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The VAUX3 rail from the PMIC powers a clock driver which clocks the WL127x. This corrects a bug which did not correctly associate the vin-supply with the proper power rail. This also fixes a typo in the pinmuxing to properly configure the interrupt pin. Fixes: ab8dd3aed011 ("ARM: DTS: Add minimal Support for Logic PD DM3730 SOM-LV") Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/logicpd-som-lv.dtsi b/arch/arm/boot/dts/logicpd-som-lv.dtsi index e3514fae414d..b02ae7808697 100644 --- a/arch/arm/boot/dts/logicpd-som-lv.dtsi +++ b/arch/arm/boot/dts/logicpd-som-lv.dtsi @@ -26,7 +26,7 @@ gpio = <&gpio1 3 0>; /* gpio_3 */ startup-delay-us = <70000>; enable-active-high; - vin-supply = <&vmmc2>; + vin-supply = <&vaux3>; }; /* HS USB Host PHY on PORT 1 */ @@ -233,7 +233,7 @@ }; wl127x_gpio: pinmux_wl127x_gpio_pin { pinctrl-single,pins = < - OMAP3_WKUP_IOPAD(0x2a0c, PIN_INPUT | MUX_MODE4) /* sys_boot0.gpio_2 */ + OMAP3_WKUP_IOPAD(0x2a0a, PIN_INPUT | MUX_MODE4) /* sys_boot0.gpio_2 */ OMAP3_WKUP_IOPAD(0x2a0c, PIN_OUTPUT | MUX_MODE4) /* sys_boot1.gpio_3 */ >; }; @@ -266,6 +266,11 @@ #include "twl4030.dtsi" #include "twl4030_omap3.dtsi" +&vaux3 { + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; +}; + &twl { twl_power: power { compatible = "ti,twl4030-power-idle-osc-off", "ti,twl4030-power-idle";