From patchwork Tue Jun 23 18:08:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 211757 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=-10.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, 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 13CB4C433E0 for ; Tue, 23 Jun 2020 18:09:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DB15B2078A for ; Tue, 23 Jun 2020 18:09:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Dh2KPp6d" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732549AbgFWSIw (ORCPT ); Tue, 23 Jun 2020 14:08:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733250AbgFWSIu (ORCPT ); Tue, 23 Jun 2020 14:08:50 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF54CC061573; Tue, 23 Jun 2020 11:08:49 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id j18so3815708wmi.3; Tue, 23 Jun 2020 11:08:49 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=SbSS6Q7ih4Cl9fLtFlG7XnZcbimVHNnRw1LIqkjYrvc=; b=Dh2KPp6dWusUM2ed5XBU4NsjAVmtV9V9mgObKv4pnPlyVn1u4kZ0AbYWWjE3b0grG7 fYHnQYvxBwkAt8LEKW+ZVCDQGLcwWJp9KvLDTcIPN0cu87o4xCxJy+5kbU9T6YHv+0Ac b7O1/RXuU7//rTqEpM2PZJYJH38twNqZWtaBDbLtWFkm5wmhP/Kk1A5yRSrhRe5kwTVW OKcYyZMv2VWEfTtnYYXSJHVJqgRjzBsLtBFtcLsR2TdjliOWNHMg8AfFf8HGr62PHV74 wn5uO3BBQ+ekt4dFfJd/rPNhWmRLbQkEHTUvLzzD2vLuaTE5aERT1NmiZJHAFKl24cxD NHMw== 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=SbSS6Q7ih4Cl9fLtFlG7XnZcbimVHNnRw1LIqkjYrvc=; b=BpQ7SFQ4s2BW1OZN+E+McV9OxCg3pBLeavXP3HGQ6c7GGR8nFBp8KOxf+OivvWf/MJ Rk3LcWgbyR0GIhIukiKWf1ivaHIrWD0lx4AHCOqYNIsMUvRnS1Pp4izpPpXvnhlB4/6U xbShBLrK+Jh8WmCWJp8TMj8IuDNhm/fspl3dOn9AUgaSZz3VKpz7FZ1Qvre1j3UosrIP A6cKaEGBcxz8GWlYOx2MTHkiJL2HoZ5Seaj3+H27qgI5VrWwGD5KqUwhEjOynkXmbyaX TJ9cFXAPvpPYFWfnkYRH9PAcZEmQHWUiwjA68H8s6YiImgXxiS/AA8LXRHBCPB9lc2Fb w2Ng== X-Gm-Message-State: AOAM531YH5yeHK1IiX2f+WQZ5mMKTo3c4Uh1oJUjZkIXlPfkz98BnRjI e3i+YPUe5y3D9VZ0RPEQCII= X-Google-Smtp-Source: ABdhPJyeRdw/97iNmtdCxvCJTdk4jETW/ttvMyIxkChAIxc17cUSyavRu3Uve54U+pI5thqu376b2g== X-Received: by 2002:a1c:790c:: with SMTP id l12mr2880386wme.50.1592935728558; Tue, 23 Jun 2020 11:08:48 -0700 (PDT) Received: from localhost.localdomain (abag196.neoplus.adsl.tpnet.pl. [83.6.170.196]) by smtp.googlemail.com with ESMTPSA id c16sm4719529wml.45.2020.06.23.11.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 11:08:48 -0700 (PDT) From: Konrad Dybcio To: skrzynka@konradybcio.pl Cc: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , Amit Kucheria , Zhang Rui , Daniel Lezcano , Rajendra Nayak , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 5/8] arm64: dts: qcom: sdm630: Fix the pinctrl node Date: Tue, 23 Jun 2020 20:08:29 +0200 Message-Id: <20200623180832.254163-6-konradybcio@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200623180832.254163-1-konradybcio@gmail.com> References: <20200623180832.254163-1-konradybcio@gmail.com> MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Previously present pinctrl node didn't show problems, but I have in fact misconfigured it. Fix it to actually enable the use of GPIOs. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 92bf4ae6a590..25c18edcb1fa 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -582,14 +582,18 @@ tcsr_mutex_regs: syscon@1f40000 { reg = <0x01f40000 0x20000>; }; - tlmm: pinctrl@3000000 { + tlmm: pinctrl@3100000 { compatible = "qcom,sdm630-pinctrl"; - reg = <0x03000000 0xc00000>; + reg = <0x03100000 0x400000>, + <0x03500000 0x400000>, + <0x03900000 0x400000>; + reg-names = "south", "center", "north"; interrupts = ; gpio-controller; - #gpio-cells = <0x2>; + gpio-ranges = <&tlmm 0 0 114>; + #gpio-cells = <2>; interrupt-controller; - #interrupt-cells = <0x2>; + #interrupt-cells = <2>; blsp1_uart1_default: blsp1-uart1-default { pins = "gpio0", "gpio1", "gpio2", "gpio3";