From patchwork Thu Jun 4 09:19:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ivan T. Ivanov" X-Patchwork-Id: 6545211 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7CE1C9F3D1 for ; Thu, 4 Jun 2015 09:24:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A4E67205C6 for ; Thu, 4 Jun 2015 09:24:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BA182204EC for ; Thu, 4 Jun 2015 09:24:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z0RLe-0004FR-By; Thu, 04 Jun 2015 09:22:02 +0000 Received: from mail-wi0-f174.google.com ([209.85.212.174]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z0RJX-0001w0-SG for linux-arm-kernel@lists.infradead.org; Thu, 04 Jun 2015 09:19:53 +0000 Received: by wibut5 with SMTP id ut5so14739869wib.1 for ; Thu, 04 Jun 2015 02:19:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ltmj9XUZBGYfLQBunJgqBksAH/SGUYSEg3AYHVtH1FA=; b=hoCXXbWRmmVkWTOKUUyivp+/iqbmv+4/pXa0uU+bOpjjwD5cV3ElK4Z3BrnQj9gjMJ aIAQm2yo67V2/OtkkFcBdSf6mivLKfsXafQToKryqJjGPIDccAXU79WjZvk7tO7m+nbI QoSnAwIGS0EojrHUtY7AbsvkwsKnjY+sK3Hhq6FQCCJL4x7gjO5xO15Niomtor8O6p0y d0tZn+5h2Uo6RaXp2KdYUZflI0VKTr9CUw9qlw/8WQwTby/g9QRMX8Y7bwxUcLBcGFHW T0sI8r52aKauPYg0iaYlTUdnxRAFTTFlDxWp7EHni7YgoyjPNg2/KkUQSIKLMrw9uyw+ fblQ== X-Gm-Message-State: ALoCoQlORSOiKMIL6n315aFhCSJq5U4k7gk5Airet4aTesWFVngLVur1mEMevFkFfSfIzgHmE4Rx X-Received: by 10.180.88.72 with SMTP id be8mr50328579wib.45.1433409568197; Thu, 04 Jun 2015 02:19:28 -0700 (PDT) Received: from mms-0439.wifi.mm-sol.com ([37.157.136.206]) by mx.google.com with ESMTPSA id ex5sm5419213wib.2.2015.06.04.02.19.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Jun 2015 02:19:27 -0700 (PDT) From: "Ivan T. Ivanov" To: Kumar Gala , Andy Gross Subject: [PATCH 6/7] arm64: dts: qcom: Fix apq8016-sbc board USB related pin definitions Date: Thu, 4 Jun 2015 12:19:05 +0300 Message-Id: <1433409546-23995-7-git-send-email-ivan.ivanov@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1433409546-23995-1-git-send-email-ivan.ivanov@linaro.org> References: <1433409546-23995-1-git-send-email-ivan.ivanov@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150604_021952_092729_92528797 X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Mark Rutland , devicetree@vger.kernel.org, Pawel Moll , Ian Campbell , linux-arm-msm@vger.kernel.org, Stanimir Varbanov , linux-kernel@vger.kernel.org, Rob Herring , Srinivas Kandagatla , Olof Johansson , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP USB2513B HUB reset line is connected to PMIC GPIO3 not GPIO1. Fix TC7USB40MU Dual SPDT Switch select input line control, which is connected to PMIC GPIO4 not GPIO2 and disable the pin. It is not used for now. Remove user LEDs definitions, because they clash with above numbers. Signed-off-by: Ivan T. Ivanov --- .../arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) -- 1.9.1 diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi index 37ca2ed..b568c49 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi @@ -2,26 +2,20 @@ &pm8916_gpios { - pm8916_gpios_default: default { - usb_hub_reset_pm { - pins = "gpio1"; - function = PMIC_GPIO_FUNC_NORMAL; - output-low; - }; - usb_sw_sel_pm { - pins = "gpio2"; - function = PMIC_GPIO_FUNC_NORMAL; - input-disable; - }; - usr_led_3_ctrl { + usb_hub_reset_pm: usb_hub_reset_pm { + pinconf { pins = "gpio3"; function = PMIC_GPIO_FUNC_NORMAL; output-low; }; - usr_led_4_ctrl { + }; + + usb_sw_sel_pm: usb_sw_sel_pm { + pinconf { pins = "gpio4"; function = PMIC_GPIO_FUNC_NORMAL; - output-low; + power-source = ; + input-disable; }; }; };