From patchwork Tue Jun 23 18:08:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 194585 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 D8F10C433DF for ; Tue, 23 Jun 2020 18:09:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B827F207D0 for ; Tue, 23 Jun 2020 18:09:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gw4tvqYy" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733170AbgFWSIo (ORCPT ); Tue, 23 Jun 2020 14:08:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732973AbgFWSIn (ORCPT ); Tue, 23 Jun 2020 14:08:43 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76FE4C061755; Tue, 23 Jun 2020 11:08:43 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id r12so4192348wrj.13; Tue, 23 Jun 2020 11:08: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:in-reply-to:references :mime-version:content-transfer-encoding; bh=wmk06+uHMYStxINkbw/YmMFydULrtqnVnBZmXZdaYkU=; b=gw4tvqYyWuEvNESNYG3QCDqaQ0LpAJi9MJQxZQgwm/xprtH3C8rrXykG/dGPiKKRWE ZZA4YTnFkNrVTzSoci6jBuV6mtipIPVf0SdCAttl6VZHk40Tr7DbJpqhc1zFn5v93v0s cHK5fqxdKbeuPxn+06PHWCZik72DvPCu6gLL2+IPuIOrNoDYwB4QVws4VsXaQXARXbAX HGdA1Xd+FsM5e+xHJH6JoLq9QZnQXe6iEEy6xwG54tgzEHq/80DkXkdU5TjWuGwppfnz ysYL8ZPGIO19wLkiXnnlbJDslMgCZ54OpVfax1gDXEtpuAEI4GzC3gG4NfwbQegVhWEi hNlg== 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=wmk06+uHMYStxINkbw/YmMFydULrtqnVnBZmXZdaYkU=; b=grnCY/G4hfwiRiZaiSesg4qKnyPy5lXCo94zc/Qt6lfJc+KgBP2dCKLE+MP4XdWX8G NkmLLbbp6NqducZmSeGU7Ork2taSuTOQnHtRFc+oH+Headl6SvoTFI8e11iPmCgtKxcO z2jIiEezbmdNIYypconIruN7DuV+FlIFPu4pn2udUbNpCRpFSS1UjjN/bYjYaHl5KLv6 GRrqf2qIDltrYe5e1wTlhr+1liiarBKIidiWoryRGYdxmrA2J8I4AWF4/bgFjcNg0Ax+ oLscc90wU2LpwaAgEq5wIFFoCWedrHs5kLA0UWjBI1TzHzfpQITg9frG6PN606OgQ2PG orbA== X-Gm-Message-State: AOAM532/GK0BXNCsdSuC9Zn9KHrjlSybo8f3zhsPm6FXpdJNlzENI1M8 oB+XpDy1NWlSwKNE9ThsRdg= X-Google-Smtp-Source: ABdhPJyTfs0KGdP7wzNf0RdFp0ndR475lqXCS5YjNCYCXDjIsT7+XPkpIDeGVqTT//m53ZeIIrWcBA== X-Received: by 2002:adf:e545:: with SMTP id z5mr25716968wrm.89.1592935722251; Tue, 23 Jun 2020 11:08:42 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 11:08:41 -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 2/8] arm64: dts: qcom: sdm630: Add RPM power domains support Date: Tue, 23 Jun 2020 20:08:26 +0200 Message-Id: <20200623180832.254163-3-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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the rpmpd node on the sdm630 and define the available levels. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 46 ++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 88efe8200c80..ea85f28032d2 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -428,6 +428,52 @@ rpmcc: clock-controller { compatible = "qcom,rpmcc-sdm660", "qcom,rpmcc"; #clock-cells = <1>; }; + + rpmpd: power-controller { + compatible = "qcom,sdm660-rpmpd"; + #power-domain-cells = <1>; + operating-points-v2 = <&rpmpd_opp_table>; + + rpmpd_opp_table: opp-table { + compatible = "operating-points-v2"; + + rpmpd_opp_ret: opp1 { + opp-level = <16>; + }; + + rpmpd_opp_ret_plus: opp2 { + opp-level = <32>; + }; + + rpmpd_opp_min_svs: opp3 { + opp-level = <48>; + }; + + rpmpd_opp_low_svs: opp4 { + opp-level = <64>; + }; + + rpmpd_opp_svs: opp5 { + opp-level = <128>; + }; + + rpmpd_opp_svs_plus: opp6 { + opp-level = <192>; + }; + + rpmpd_opp_nom: opp7 { + opp-level = <256>; + }; + + rpmpd_opp_nom_plus: opp8 { + opp-level = <320>; + }; + + rpmpd_opp_turbo: opp9 { + opp-level = <384>; + }; + }; + }; }; }; From patchwork Tue Jun 23 18:08:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 194586 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=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 8A505C433E0 for ; Tue, 23 Jun 2020 18:09:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 67678207D0 for ; Tue, 23 Jun 2020 18:09:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="qlW0UT0I" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387433AbgFWSJQ (ORCPT ); Tue, 23 Jun 2020 14:09:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733214AbgFWSIq (ORCPT ); Tue, 23 Jun 2020 14:08:46 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97359C061573; Tue, 23 Jun 2020 11:08:45 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id l17so3824532wmj.0; Tue, 23 Jun 2020 11:08:45 -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=J8OcL2igjAskSXad9xrzVVWdlH7GJvm1mWz0l8/dfzA=; b=qlW0UT0INRLFF+18UA4WegQJDYUTYkGa2on8OgajVSza/LdEv0MWiQLmjbiZXiychi MZ0XwkY/FFJkgJXCubN2Lcmn8lrhgmBmyErSPqFD7telVRgLXQFHBSRNwGi4oepLFl1F oZH9WgVeI0xsT78HliB0EhzAp3l6NzZDOnIFl+iSQzBkjuZMpxyZn1YRb7o31c1W+yHJ TO1FzUfCQyz5YSOQ5AQyvPpyyxbfP3qLwX96ZMOWezf88JTykzysuhRYxsiqtkK0bfOL Z+SuRnEwSSD1bPcJ1UzE3Oxbt8/Z3fhj7NAe9Lq7Q4LLXlfgnWFGfQ3aazEiMpRcpurX qq0A== 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=J8OcL2igjAskSXad9xrzVVWdlH7GJvm1mWz0l8/dfzA=; b=hte+FF7NIXcplGxu1F3+0w6pdRq2AZCJ7yhdtnu1gt66++gZUo8MgND81pC3ZVqZnu C1B1zfW8KijG57WbkfoVsbL6oFSwni7UXPqU4d/PHQHd+c9Gyu5/OLWC96Jb7MgDIvmt drcSkZf0oMwT7yhxNejzo6p0W7HoJvooVGeV11en8XuKT0RpEJINmhIHe0m2gSPZ7V3D hBfi+eGiCBXr9xnAp1pkUoSSJ50vj5Na+/ztYMOjA21Ormj+GCmEPyIbjt2Gkh0czwYo tcF0uX+H/gv0jdj2d9xC0YsTQDQEHj1SZ+2p4rMAl/AMprufaT1d+DSTaxKYk+mPJEQT 2gdw== X-Gm-Message-State: AOAM532OMm2ar+fEE1x6urQcrxESdrvIk8xKJPu9URv69Sx2LvuZNkSb 71iLOUhXHGYUnMkS5wFwvR4= X-Google-Smtp-Source: ABdhPJwXRXk7kAY+Swq+1CCO+mVVjQWtgirNw0i03TSNku0/pz4e3x4VGJtYXemKG951DrgLzVPTrw== X-Received: by 2002:a1c:96ce:: with SMTP id y197mr26789007wmd.55.1592935724369; Tue, 23 Jun 2020 11:08:44 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 11:08:44 -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 3/8] arm64: dts: qcom: sdm630: Add tsens node Date: Tue, 23 Jun 2020 20:08:27 +0200 Message-Id: <20200623180832.254163-4-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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable tsens on this SoC using tsens-v2 driver. Signed-off-by: Konrad Dybcio --- .../devicetree/bindings/thermal/qcom-tsens.yaml | 1 + arch/arm64/boot/dts/qcom/sdm630.dtsi | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml index d7be931b42d2..d89d5acd6e2a 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml @@ -39,6 +39,7 @@ properties: - qcom,msm8996-tsens - qcom,msm8998-tsens - qcom,sc7180-tsens + - qcom,sdm630-tsens - qcom,sdm845-tsens - const: qcom,tsens-v2 diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index ea85f28032d2..92bf4ae6a590 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -566,6 +566,17 @@ anoc2_smmu: iommu@16c0000 { ; }; + tsens: thermal-sensor@10ae000 { + compatible = "qcom,sdm630-tsens", "qcom,tsens-v2"; + reg = <0x010ae000 0x1000>, /* TM */ + <0x010ad000 0x1000>; /* SROT */ + #qcom,sensors = <12>; + interrupts = , + ; + interrupt-names = "uplow", "critical"; + #thermal-sensor-cells = <1>; + }; + tcsr_mutex_regs: syscon@1f40000 { compatible = "syscon"; reg = <0x01f40000 0x20000>; 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: 194587 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 5D465C433E3 for ; Tue, 23 Jun 2020 18:09:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 360C62078A 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 S1733261AbgFWSIw (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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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"; From patchwork Tue Jun 23 18:08:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 194588 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 ACD80C433E1 for ; Tue, 23 Jun 2020 18:09:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8919B2078A for ; Tue, 23 Jun 2020 18:09:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jTRxaysy" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733311AbgFWSI6 (ORCPT ); Tue, 23 Jun 2020 14:08:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733304AbgFWSI5 (ORCPT ); Tue, 23 Jun 2020 14:08:57 -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 580E3C061573; Tue, 23 Jun 2020 11:08:56 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id o8so2065651wmh.4; Tue, 23 Jun 2020 11:08:56 -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=ohValdVxRvvh6aqrpMpmYg4qV2+S9kNyoOWHWloB/ak=; b=jTRxaysyBS8dV09lAA6JLpCZVZm391Lx/XTsiqjQ2xU7Hnbw0P8qTm9sOmTIcLZJPz SGCxXr1HP4TnKP4CCV1E61JzYJz03egvyN05PxkGmbq8oYehVdQAQpgwVzPzBRdxD319 09Na+5NranAcO0JZs5n2ixMgvsoqxSQRBIjKCnVok+mDy/NjlG8MbSSfjmQVREF7gFLd CmPz/oBJku8YQ9ZU4EDsCYYi7CuUIgofLlKejynssRpuHm6+kG05QNcpQf1iyRZ9+50+ tRZFqRhipOQi0+vYEQKr28knAfJu6OmUUkWNoDIc60gmNft09o4UDC916rJ3GOS1aryb 4OIA== 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=ohValdVxRvvh6aqrpMpmYg4qV2+S9kNyoOWHWloB/ak=; b=VDVVI2itWNMS2Lnjjk/ZSeCpNe4lXlUqSalSMNiwr4noxFvDkZvNVE1+wgcYFEtlQX wsTKE7CaUrBAJjSPZLwJS93GI0473zj9qDpLx2aZtwLi0i5syPHJXM+aCWn9BK4LP3Hb eTh4/aSpXGdGMmiRxbTq8ZNcYXqmgxllD5LQXGZ5aflFY0tEA63O2YY8P8iptcCFJkHk fc3Cks8fXISaMiTRub5LAx1LPLwhkn+MPHSwzHZI6+fUd8hB2wMFhSTRXQXW8k0tB7vV 4vEjIg1IGpg0Gq6aMoZOCfvC1EMqFSFBSLbnmvr37RXVg/81noYHZNXO06vGiFGpBU8b OYRQ== X-Gm-Message-State: AOAM5313S1sE0SLuyfwIy5HgCHAr2G+JJ7bX3zUmhA/06W71N2UYASqJ sw+llDwygxcTUU0TeAeiJDw= X-Google-Smtp-Source: ABdhPJzGMfxzv/fIS+kxcuoagxxxwWqFYU0tXuqxrUtS9uBEV0HnzHOIF2Z0EUHh2/p511fDG+BSUw== X-Received: by 2002:a1c:2901:: with SMTP id p1mr26351547wmp.144.1592935735115; Tue, 23 Jun 2020 11:08:55 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 11:08:54 -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 8/8] arm64: dts: qcom: sdm630: ganges: Change addresses to phandles Date: Tue, 23 Jun 2020 20:08:32 +0200 Message-Id: <20200623180832.254163-9-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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This brings the DT in line with the style used in other device trees. Signed-off-by: Konrad Dybcio --- .../dts/qcom/sdm630-sony-xperia-ganges.dtsi | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges.dtsi b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges.dtsi index cf2e8b5d60e8..12d4d1c25027 100644 --- a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges.dtsi @@ -13,13 +13,6 @@ #include "sdm630-sony-xperia-nile.dtsi" / { - chosen { - framebuffer@9d400000 { - reg = <0 0x9d400000 0 (2520 * 1080 * 4)>; - height = <2520>; - }; - }; - /* Yes, this is intentional. * Ganges devices only use gpio-keys for * Volume Down, but currently there's an @@ -27,14 +20,15 @@ framebuffer@9d400000 { * Until then, let's not make the kernel panic */ /delete-node/ gpio-keys; +}; - soc { - - i2c@c175000 { - status = "okay"; +&framebuffer0 { + reg = <0 0x9d400000 0 (2520 * 1080 * 4)>; + height = <2520>; +}; - /* Novatek touchscreen */ - }; - }; +&blsp_i2c1 { + status = "okay"; + /* Novatek touchscreen */ };