From patchwork Wed Oct 25 08:37:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Hansson X-Patchwork-Id: 157932 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2453040vqx; Wed, 25 Oct 2023 01:42:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEjP/CM212PZQmsSrjEXs42LmmvGb7FK31cXQH4pvNe+0ik9qhDfsOCwL3eklh8DrOYwyWG X-Received: by 2002:a5b:b0b:0:b0:d9a:fc8e:7c05 with SMTP id z11-20020a5b0b0b000000b00d9afc8e7c05mr11735529ybp.45.1698223345987; Wed, 25 Oct 2023 01:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698223345; cv=none; d=google.com; s=arc-20160816; b=TRVuJXXCTGUJ5rRci/tWR3fIBQQY2zEkuuGlaLw5e8N0KwSHUByZmFKhThqYExc5gi nrYKIYoCyPsl0ujZ5qkbUhf0kT9wRo5bPIkzVfpEf863O4DubFbwEkN5TjTzTtsnSd7m gGbF3qO8qkW12RHUhEuXEmZw551G6lLarb/MevVbnuxbiU2kDk21F3p84x6z90fX0/Ba C9qEwK5WldKW3wJiqOWzc1oUKpvEu8KZA7/hQ0+pCFo5YBYZhTd9X784WfN07E94p8I8 k1WOiY9kK1eyY71h5SB8cxuMIWYLRpq+dqCrcUpK4fKaQdE+W0gYwd0ZhAPqXhEIfKOy JQuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:dkim-signature :from; bh=/HoYYApUTlWYJVt7ca7iblZiwUCik47KjINRgjcfULs=; fh=8LmwB/n4G53CQiHYO+ycQgPivED5y1YDH/Ve54KLwm0=; b=wenVBoRPn5zVD09anTlxaZHJpZwJPWXbtQ/TpSwCg6e4n8PolNglY3kZvkKEw55/Qn f9n3WXsTcd1uaznx4F9Mbo78OJhDyGEA+pJ4AqFb4MJeNAST44EQ4Pjj+KlV5ES2zXUR UfLHISKEF3v3yUixqzanJ92FtMjNXaalFjwTJdt2czc3PzLX5beMksCKDOUwcwE1PeAI lhT3vqE/vRAdUq6Wfbhs46vIF6bkt9XkaF2+pKjU9o7QRypeyxNBvCGDGbhPZgP+IQ5I EIWVQfnPH0wC1AR63r2A1yrhtYkVXS+gg7FMEzyJC7x1jvgB0+ai1t9rsieN6tvEUcWy as7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=rifGlJP0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id q6-20020a056902150600b00d7b9fad2573si13804265ybu.213.2023.10.25.01.42.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 01:42:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=rifGlJP0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BF8E2801BA52; Wed, 25 Oct 2023 01:42:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232503AbjJYImR (ORCPT + 26 others); Wed, 25 Oct 2023 04:42:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233934AbjJYImL (ORCPT ); Wed, 25 Oct 2023 04:42:11 -0400 Received: from proxmox1.postmarketos.org (proxmox1.postmarketos.org [IPv6:2a01:4f8:a0:821d::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AB68A12A; Wed, 25 Oct 2023 01:42:07 -0700 (PDT) From: Stefan Hansson DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=donut; t=1698223326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/HoYYApUTlWYJVt7ca7iblZiwUCik47KjINRgjcfULs=; b=rifGlJP0E7sLBIGODTaemHjHfkAP4BRuaYylZ7vNLdIGl5oPhBgC07MF3+JwUWyLwtBmvb 2MmjWpHnFzk2jaqxcCuaZ4bcx2iW7FIRD1inq4Y3/YJxMXH5VHmjOJ3yTrkW94cZuili1f Ut+61IWihy7pdpzfJz4mvMW14jHxBvk= To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Stefan Hansson Subject: [PATCH v3 1/4] ARM: dts: qcom: samsung-matisse-common: Add initial common device tree Date: Wed, 25 Oct 2023 10:37:49 +0200 Message-ID: <20231025083952.12367-2-newbyte@postmarketos.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231025083952.12367-1-newbyte@postmarketos.org> References: <20231025083952.12367-1-newbyte@postmarketos.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 25 Oct 2023 01:42:24 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780716243169138488 X-GMAIL-MSGID: 1780716243169138488 According to the dts from the kernel source code released by Samsung, matissewifi and matisselte only have minor differences in hardware, so use a shared dtsi to reduce duplicated code. Additionally, this should make adding support for matisse3g easier should someone want to do that at a later point. As such, add a common device tree for all matisse devices by Samsung based on the matissewifi dts. Support for matisselte will be introduced in a later patch in this series and will use the common dtsi as well. Signed-off-by: Stefan Hansson --- .../qcom-apq8026-samsung-matisse-wifi.dts | 589 +++--------------- ... qcom-msm8226-samsung-matisse-common.dtsi} | 59 +- 2 files changed, 77 insertions(+), 571 deletions(-) rewrite arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts (89%) copy arch/arm/boot/dts/qcom/{qcom-apq8026-samsung-matisse-wifi.dts => qcom-msm8226-samsung-matisse-common.dtsi} (90%) diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts dissimilarity index 89% index f516e0426bb9..98d4bb797617 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts +++ b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts @@ -1,519 +1,70 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2022, Matti Lehtimäki - */ - -/dts-v1/; - -#include -#include "qcom-msm8226.dtsi" -#include "qcom-pm8226.dtsi" - -/delete-node/ &adsp_region; -/delete-node/ &smem_region; - -/ { - model = "Samsung Galaxy Tab 4 10.1"; - compatible = "samsung,matisse-wifi", "qcom,apq8026"; - chassis-type = "tablet"; - - aliases { - mmc0 = &sdhc_1; /* SDC1 eMMC slot */ - mmc1 = &sdhc_2; /* SDC2 SD card slot */ - display0 = &framebuffer0; - }; - - chosen { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - stdout-path = "display0"; - - framebuffer0: framebuffer@3200000 { - compatible = "simple-framebuffer"; - reg = <0x03200000 0x800000>; - width = <1280>; - height = <800>; - stride = <(1280 * 3)>; - format = "r8g8b8"; - }; - }; - - gpio-hall-sensor { - compatible = "gpio-keys"; - - event-hall-sensor { - label = "Hall Effect Sensor"; - gpios = <&tlmm 110 GPIO_ACTIVE_LOW>; - linux,input-type = ; - linux,code = ; - debounce-interval = <15>; - linux,can-disable; - wakeup-source; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - autorepeat; - - key-home { - label = "Home"; - gpios = <&tlmm 108 GPIO_ACTIVE_LOW>; - linux,code = ; - debounce-interval = <15>; - }; - - key-volume-down { - label = "Volume Down"; - gpios = <&tlmm 107 GPIO_ACTIVE_LOW>; - linux,code = ; - debounce-interval = <15>; - }; - - key-volume-up { - label = "Volume Up"; - gpios = <&tlmm 106 GPIO_ACTIVE_LOW>; - linux,code = ; - debounce-interval = <15>; - }; - }; - - i2c-backlight { - compatible = "i2c-gpio"; - sda-gpios = <&tlmm 20 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; - scl-gpios = <&tlmm 21 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; - - pinctrl-0 = <&backlight_i2c_default_state>; - pinctrl-names = "default"; - - i2c-gpio,delay-us = <4>; - - #address-cells = <1>; - #size-cells = <0>; - - backlight@2c { - compatible = "ti,lp8556"; - reg = <0x2c>; - - dev-ctrl = /bits/ 8 <0x80>; - init-brt = /bits/ 8 <0x3f>; - - pwms = <&backlight_pwm 0 100000>; - pwm-names = "lp8556"; - - rom-a0h { - rom-addr = /bits/ 8 <0xa0>; - rom-val = /bits/ 8 <0x44>; - }; - - rom-a1h { - rom-addr = /bits/ 8 <0xa1>; - rom-val = /bits/ 8 <0x6c>; - }; - - rom-a5h { - rom-addr = /bits/ 8 <0xa5>; - rom-val = /bits/ 8 <0x24>; - }; - }; - }; - - backlight_pwm: pwm { - compatible = "clk-pwm"; - #pwm-cells = <2>; - clocks = <&mmcc CAMSS_GP0_CLK>; - pinctrl-0 = <&backlight_pwm_default_state>; - pinctrl-names = "default"; - }; - - reg_tsp_1p8v: regulator-tsp-1p8v { - compatible = "regulator-fixed"; - regulator-name = "tsp_1p8v"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - - gpio = <&tlmm 31 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-names = "default"; - pinctrl-0 = <&tsp_en_default_state>; - }; - - reg_tsp_3p3v: regulator-tsp-3p3v { - compatible = "regulator-fixed"; - regulator-name = "tsp_3p3v"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - - gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-names = "default"; - pinctrl-0 = <&tsp_en1_default_state>; - }; - - reserved-memory { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - framebuffer@3200000 { - reg = <0x03200000 0x800000>; - no-map; - }; - - mpss@8400000 { - reg = <0x08400000 0x1f00000>; - no-map; - }; - - mba@a300000 { - reg = <0x0a300000 0x100000>; - no-map; - }; - - reserved@cb00000 { - reg = <0x0cb00000 0x700000>; - no-map; - }; - - wcnss@d200000 { - reg = <0x0d200000 0x700000>; - no-map; - }; - - adsp_region: adsp@d900000 { - reg = <0x0d900000 0x1800000>; - no-map; - }; - - venus@f100000 { - reg = <0x0f100000 0x500000>; - no-map; - }; - - smem_region: smem@fa00000 { - reg = <0x0fa00000 0x100000>; - no-map; - }; - - reserved@fb00000 { - reg = <0x0fb00000 0x260000>; - no-map; - }; - - rfsa@fd60000 { - reg = <0x0fd60000 0x20000>; - no-map; - }; - - rmtfs@fd80000 { - compatible = "qcom,rmtfs-mem"; - reg = <0x0fd80000 0x180000>; - no-map; - - qcom,client-id = <1>; - }; - }; -}; - -&adsp { - status = "okay"; -}; - -&blsp1_i2c2 { - status = "okay"; - - accelerometer@1d { - compatible = "st,lis2hh12"; - reg = <0x1d>; - - interrupt-parent = <&tlmm>; - interrupts = <54 IRQ_TYPE_LEVEL_HIGH>; - - pinctrl-names = "default"; - pinctrl-0 = <&accel_int_default_state>; - - st,drdy-int-pin = <1>; - - vdd-supply = <&pm8226_l19>; - vddio-supply = <&pm8226_lvs1>; - }; -}; - -&blsp1_i2c4 { - status = "okay"; - - muic: usb-switch@25 { - compatible = "siliconmitus,sm5502-muic"; - reg = <0x25>; - - interrupt-parent = <&tlmm>; - interrupts = <67 IRQ_TYPE_EDGE_FALLING>; - - pinctrl-names = "default"; - pinctrl-0 = <&muic_int_default_state>; - }; -}; - -&blsp1_i2c5 { - status = "okay"; - - touchscreen@4a { - compatible = "atmel,maxtouch"; - reg = <0x4a>; - - interrupt-parent = <&tlmm>; - interrupts = <17 IRQ_TYPE_LEVEL_LOW>; - - pinctrl-names = "default"; - pinctrl-0 = <&tsp_int_rst_default_state>; - - reset-gpios = <&pm8226_gpios 6 GPIO_ACTIVE_LOW>; - - vdd-supply = <®_tsp_1p8v>; - vdda-supply = <®_tsp_3p3v>; - }; -}; - -&rpm_requests { - regulators { - compatible = "qcom,rpm-pm8226-regulators"; - - pm8226_s3: s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1300000>; - }; - - pm8226_s4: s4 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - - pm8226_s5: s5 { - regulator-min-microvolt = <1150000>; - regulator-max-microvolt = <1150000>; - }; - - pm8226_l1: l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - }; - - pm8226_l2: l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - }; - - pm8226_l3: l3 { - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1337500>; - regulator-always-on; - }; - - pm8226_l4: l4 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - }; - - pm8226_l5: l5 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - }; - - pm8226_l6: l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - }; - - pm8226_l7: l7 { - regulator-min-microvolt = <1850000>; - regulator-max-microvolt = <1850000>; - }; - - pm8226_l8: l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - }; - - pm8226_l9: l9 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - }; - - pm8226_l10: l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - - pm8226_l12: l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - - pm8226_l14: l14 { - regulator-min-microvolt = <2750000>; - regulator-max-microvolt = <2750000>; - }; - - pm8226_l15: l15 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - }; - - pm8226_l16: l16 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3350000>; - }; - - pm8226_l17: l17 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - - regulator-system-load = <200000>; - regulator-allow-set-load; - regulator-always-on; - }; - - pm8226_l18: l18 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - }; - - pm8226_l19: l19 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <3000000>; - }; - - pm8226_l20: l20 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - }; - - pm8226_l21: l21 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - }; - - pm8226_l22: l22 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3000000>; - }; - - pm8226_l23: l23 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - }; - - pm8226_l24: l24 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1350000>; - }; - - pm8226_l25: l25 { - regulator-min-microvolt = <1775000>; - regulator-max-microvolt = <2125000>; - }; - - pm8226_l26: l26 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1300000>; - }; - - pm8226_l27: l27 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - - pm8226_l28: l28 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - }; - - pm8226_lvs1: lvs1 {}; - }; -}; - -&sdhc_1 { - vmmc-supply = <&pm8226_l17>; - vqmmc-supply = <&pm8226_l6>; - - bus-width = <8>; - non-removable; - - status = "okay"; -}; - -&sdhc_2 { - vmmc-supply = <&pm8226_l18>; - vqmmc-supply = <&pm8226_l21>; - - bus-width = <4>; - cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; - - status = "okay"; -}; - -&tlmm { - accel_int_default_state: accel-int-default-state { - pins = "gpio54"; - function = "gpio"; - drive-strength = <2>; - bias-disable; - }; - - backlight_i2c_default_state: backlight-i2c-default-state { - pins = "gpio20", "gpio21"; - function = "gpio"; - drive-strength = <2>; - bias-disable; - }; - - backlight_pwm_default_state: backlight-pwm-default-state { - pins = "gpio33"; - function = "gp0_clk"; - }; - - muic_int_default_state: muic-int-default-state { - pins = "gpio67"; - function = "gpio"; - drive-strength = <2>; - bias-disable; - }; - - tsp_en_default_state: tsp-en-default-state { - pins = "gpio31"; - function = "gpio"; - drive-strength = <2>; - bias-disable; - }; - - tsp_en1_default_state: tsp-en1-default-state { - pins = "gpio73"; - function = "gpio"; - drive-strength = <2>; - bias-disable; - }; - - tsp_int_rst_default_state: tsp-int-rst-default-state { - pins = "gpio17"; - function = "gpio"; - drive-strength = <10>; - bias-pull-up; - }; -}; - -&usb { - extcon = <&muic>, <&muic>; - status = "okay"; -}; - -&usb_hs_phy { - extcon = <&muic>; - v1p8-supply = <&pm8226_l10>; - v3p3-supply = <&pm8226_l20>; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2022, Matti Lehtimäki + */ + +/dts-v1/; + +#include "qcom-msm8226-samsung-matisse-common.dtsi" + +/ { + model = "Samsung Galaxy Tab 4 10.1"; + compatible = "samsung,matisse-wifi", "qcom,apq8026"; + chassis-type = "tablet"; +}; + +&blsp1_i2c2 { + status = "okay"; + + accelerometer@1d { + compatible = "st,lis2hh12"; + reg = <0x1d>; + + interrupt-parent = <&tlmm>; + interrupts = <54 IRQ_TYPE_LEVEL_HIGH>; + + pinctrl-names = "default"; + pinctrl-0 = <&accel_int_default_state>; + + st,drdy-int-pin = <1>; + + vdd-supply = <&pm8226_l19>; + vddio-supply = <&pm8226_lvs1>; + }; +}; + +&blsp1_i2c5 { + status = "okay"; + + touchscreen@4a { + compatible = "atmel,maxtouch"; + reg = <0x4a>; + + interrupt-parent = <&tlmm>; + interrupts = <17 IRQ_TYPE_LEVEL_LOW>; + + pinctrl-names = "default"; + pinctrl-0 = <&tsp_int_rst_default_state>; + + reset-gpios = <&pm8226_gpios 6 GPIO_ACTIVE_LOW>; + + vdd-supply = <®_tsp_1p8v>; + vdda-supply = <®_tsp_3p3v>; + }; +}; + +&pm8226_l3 { + regulator-max-microvolt = <1337500>; +}; + +&pm8226_s4 { + regulator-max-microvolt = <1800000>; +}; + +®_tsp_3p3v { + gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>; +}; + +&tsp_en1_default_state { + pins = "gpio73"; +}; diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts b/arch/arm/boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi similarity index 90% copy from arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts copy to arch/arm/boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi index f516e0426bb9..11fec4e963b7 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi @@ -1,10 +1,9 @@ // SPDX-License-Identifier: BSD-3-Clause /* * Copyright (c) 2022, Matti Lehtimäki + * Copyright (c) 2023, Stefan Hansson */ -/dts-v1/; - #include #include "qcom-msm8226.dtsi" #include "qcom-pm8226.dtsi" @@ -13,10 +12,6 @@ /delete-node/ &smem_region; / { - model = "Samsung Galaxy Tab 4 10.1"; - compatible = "samsung,matisse-wifi", "qcom,apq8026"; - chassis-type = "tablet"; - aliases { mmc0 = &sdhc_1; /* SDC1 eMMC slot */ mmc1 = &sdhc_2; /* SDC2 SD card slot */ @@ -137,8 +132,8 @@ reg_tsp_1p8v: regulator-tsp-1p8v { gpio = <&tlmm 31 GPIO_ACTIVE_HIGH>; enable-active-high; - pinctrl-names = "default"; pinctrl-0 = <&tsp_en_default_state>; + pinctrl-names = "default"; }; reg_tsp_3p3v: regulator-tsp-3p3v { @@ -147,11 +142,11 @@ reg_tsp_3p3v: regulator-tsp-3p3v { regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>; + /* GPIO is board-specific */ enable-active-high; - pinctrl-names = "default"; pinctrl-0 = <&tsp_en1_default_state>; + pinctrl-names = "default"; }; reserved-memory { @@ -223,26 +218,6 @@ &adsp { status = "okay"; }; -&blsp1_i2c2 { - status = "okay"; - - accelerometer@1d { - compatible = "st,lis2hh12"; - reg = <0x1d>; - - interrupt-parent = <&tlmm>; - interrupts = <54 IRQ_TYPE_LEVEL_HIGH>; - - pinctrl-names = "default"; - pinctrl-0 = <&accel_int_default_state>; - - st,drdy-int-pin = <1>; - - vdd-supply = <&pm8226_l19>; - vddio-supply = <&pm8226_lvs1>; - }; -}; - &blsp1_i2c4 { status = "okay"; @@ -253,28 +228,8 @@ muic: usb-switch@25 { interrupt-parent = <&tlmm>; interrupts = <67 IRQ_TYPE_EDGE_FALLING>; - pinctrl-names = "default"; pinctrl-0 = <&muic_int_default_state>; - }; -}; - -&blsp1_i2c5 { - status = "okay"; - - touchscreen@4a { - compatible = "atmel,maxtouch"; - reg = <0x4a>; - - interrupt-parent = <&tlmm>; - interrupts = <17 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&tsp_int_rst_default_state>; - - reset-gpios = <&pm8226_gpios 6 GPIO_ACTIVE_LOW>; - - vdd-supply = <®_tsp_1p8v>; - vdda-supply = <®_tsp_3p3v>; }; }; @@ -287,9 +242,9 @@ pm8226_s3: s3 { regulator-max-microvolt = <1300000>; }; + /* Upper voltage constraint is board-specific */ pm8226_s4: s4 { regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; }; pm8226_s5: s5 { @@ -307,9 +262,9 @@ pm8226_l2: l2 { regulator-max-microvolt = <1200000>; }; + /* Upper voltage constraint is board-specific */ pm8226_l3: l3 { regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1337500>; regulator-always-on; }; @@ -493,7 +448,7 @@ tsp_en_default_state: tsp-en-default-state { }; tsp_en1_default_state: tsp-en1-default-state { - pins = "gpio73"; + /* pins is board-specific */ function = "gpio"; drive-strength = <2>; bias-disable; From patchwork Wed Oct 25 08:37:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hansson X-Patchwork-Id: 157931 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2453006vqx; Wed, 25 Oct 2023 01:42:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEiRoYGiU2YXabnOrU5ZdxX8FhJhvYrLGKphhErz1Y1ODabQIj8v1fVYjuGpxgJRhb/L7sd X-Received: by 2002:a05:6902:566:b0:d9a:e398:5b25 with SMTP id a6-20020a056902056600b00d9ae3985b25mr12320047ybt.47.1698223340478; Wed, 25 Oct 2023 01:42:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698223340; cv=none; d=google.com; s=arc-20160816; b=JrC6YG9tDSVCtgpMZzGcarnddhP0ELFkfg8ZrFjvSq7/YBP+TE8mE0qRUIzyho5roG NSWY/nGPhiWNmZlweyHAz35/aae78u7xgsex0K/W2d75aH00SFXYw+C1vOsAtjIboK0q 01SAkY3+76DkOTvUwc2Ce5gnSlrkfM89AfCwAG4LxrxaveG1RKHX449El0FMUjacb02p aM+JfbJIwq7VCEtW/ofXdFegM6+xA6OSX56NajpYGb994fcu2oUnneTZEbB+oDmFQH3y wA4uSJtlIySPo4bDylMmR1woU9hcALiZtxZv9zRo9SUAm/Hbnp63NNIfVfDjUrUTLXwq bJCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:dkim-signature :from; bh=nCEfQhvJFpQP4wGwWs4rZwAtN4BGZznylrcgbwf2GdY=; fh=8LmwB/n4G53CQiHYO+ycQgPivED5y1YDH/Ve54KLwm0=; b=pgM4m3cj6tUgBDOXsYBOsODrLvbZ9fJMeVHAupILbgNadqv4O/t62k1gEYhtstWGYA Ns1zHwYSLfjOnhmKZwB51nb9fyZ298p9B+05InyCUbmPcRAsAjPN/q9imaoFDDtSy68i 5pRX273RzYXlMtt8LTXuKmAd2rzO/rQ28+nUbMH97LnJ3bqEgvfwTJhf6xr70l+y50BF YdWNtDD2Lf39Btb6GyjsTCt7Xs4636T9a0TAM1DRx+d9LPlAAbRPkHMWWF5Nz8ECB2uB Vay+p30boEJdE2cZD3gn0dghQxR7AhZcVueFlq/8lQesZtmKc671m6b6ktNW1X9eF+LX Cctg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=G+JFbdvG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id w20-20020a25ac14000000b00d9caba4deb1si9607966ybi.23.2023.10.25.01.42.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 01:42:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=G+JFbdvG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2C857801BB78; Wed, 25 Oct 2023 01:42:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234138AbjJYImO (ORCPT + 26 others); Wed, 25 Oct 2023 04:42:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230217AbjJYImK (ORCPT ); Wed, 25 Oct 2023 04:42:10 -0400 Received: from proxmox1.postmarketos.org (proxmox1.postmarketos.org [IPv6:2a01:4f8:a0:821d::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A920312D; Wed, 25 Oct 2023 01:42:08 -0700 (PDT) From: Stefan Hansson DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=donut; t=1698223327; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nCEfQhvJFpQP4wGwWs4rZwAtN4BGZznylrcgbwf2GdY=; b=G+JFbdvGIZWkFTVpd+9UD14aXMcg9FtKCnfk6mmgF4mjC76jZZ2pubd441hcz36it1eQoy kl+6vX+5S4C/Wzy3UWz4pjjZi58l/b5SlWeDhWTP+gD6eisJV758j/kv3mVBlZEe0uhh5O 1Jc4WUcva3rqls31oN512pDDfvkt8tA= To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Stefan Hansson Subject: [PATCH v3 2/4] dt-bindings: arm: qcom: Add Samsung Galaxy Tab 4 10.1 LTE Date: Wed, 25 Oct 2023 10:37:50 +0200 Message-ID: <20231025083952.12367-3-newbyte@postmarketos.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231025083952.12367-1-newbyte@postmarketos.org> References: <20231025083952.12367-1-newbyte@postmarketos.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 25 Oct 2023 01:42:19 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780716237306151667 X-GMAIL-MSGID: 1780716237306151667 This documents Samsung Galaxy Tab 4 10.1 LTE (samsung,matisselte) which is a tablet by Samsung based on the MSM8926 SoC. Signed-off-by: Stefan Hansson --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 88b84035e7b1..242ffe89c6c6 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -196,6 +196,7 @@ properties: - enum: - microsoft,superman-lte - microsoft,tesla + - samsung,matisselte - const: qcom,msm8926 - const: qcom,msm8226 From patchwork Wed Oct 25 08:37:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Hansson X-Patchwork-Id: 157934 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2453169vqx; Wed, 25 Oct 2023 01:42:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF66uRw4s+63TQEdMYMq62itC1f4kcV+CcMTG0CYuTb1qXKs5RvjYxFFEX+r2HDtgDF2ysK X-Received: by 2002:a81:4e94:0:b0:5a8:1d2e:e3e4 with SMTP id c142-20020a814e94000000b005a81d2ee3e4mr16408921ywb.35.1698223369934; Wed, 25 Oct 2023 01:42:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698223369; cv=none; d=google.com; s=arc-20160816; b=W9CGYw6B0LQ6E+ZtKahj4u20XIz39++ZZZy09vEA5m7jPU3cqgMOxOgRoGyp3+Mhg0 yhyTqgX5HkojGhWgOw6pbhRC4+5rr0ybzPSVYRqi4L4QXvv/f8+dPy8xlfIGpnAd3KLw 4TNbOM+aXf3evCJY7LLHRS0MkEDsLxzFFSTsje2mepb26AOSEOewbHublqGqCj+0MGfK Euwd7VKmjwoK6g9hj4CmzkPBLCvi4GvN9D5SwNSGCmvYVwlr8tWV9DNgsQwaZaOxXwFL JCAcrtw60jXuwzgRKM1syc18XnZyplQC064niBHn24B7M9YDSvemCwS/rBnt1g9TrijS p5wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:dkim-signature :from; bh=WftJlpZtFCnefMD8OenIbNEyH0eXljfkuOxB9Oej6aQ=; fh=8LmwB/n4G53CQiHYO+ycQgPivED5y1YDH/Ve54KLwm0=; b=FpQNl8pSbXY4nJdKDBIBpAWUE43Iwnv6MwSQgUyzRpecLycxqLOxMAQo3XyDhDqUs/ kUuBULzGcW15zlqIkD/+DyhD5Qx8/3DFXAgN/te7FCGJg7HgM64piDM6JOqSBN8iSP+I tvilS2Tag9WEcgdpmRMw7tmIoMGijwFjoNVC/uY88LzqVsvK6aC9/maQV/YuPYu85llW ik9XOxNSpgzjHQq13HBtKpnheOr+v5OniGhS8yQP9pLpdUOgtlDTwZB7b+CEm8SdiKkf 37jGA3iN7aDv78gMujmX8VKWLb9wvJi6sbLkqKcrn62p+OPUKwKXe2GG5nYg2DaUW6Te B9TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=K1zqzHfm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id y1-20020a0def01000000b005a4f6575a70si10950469ywe.62.2023.10.25.01.42.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 01:42:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=K1zqzHfm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 0AECC807AFD6; Wed, 25 Oct 2023 01:42:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234364AbjJYIm1 (ORCPT + 26 others); Wed, 25 Oct 2023 04:42:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234085AbjJYImM (ORCPT ); Wed, 25 Oct 2023 04:42:12 -0400 Received: from proxmox1.postmarketos.org (proxmox1.postmarketos.org [213.239.216.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 315509C; Wed, 25 Oct 2023 01:42:10 -0700 (PDT) From: Stefan Hansson DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=donut; t=1698223328; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WftJlpZtFCnefMD8OenIbNEyH0eXljfkuOxB9Oej6aQ=; b=K1zqzHfmdptWF/Rfl7wB1CPXx0r/Tly/RRJZkLWHBc0F+hhBYFEyVBF4q6Pbb3V74deAdV EVSdN7h5W/uxgjl8j43qUyYS7DzXNDhFdGXbAjMzoHCjRJD6iNfdTssGNsA7iBjThd0B0g JP12mOAm67hFicITjSviUOaeLXIubQ8= To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Stefan Hansson Subject: [PATCH v3 3/4] ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 LTE (SM-T535) Date: Wed, 25 Oct 2023 10:37:51 +0200 Message-ID: <20231025083952.12367-4-newbyte@postmarketos.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231025083952.12367-1-newbyte@postmarketos.org> References: <20231025083952.12367-1-newbyte@postmarketos.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 25 Oct 2023 01:42:47 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780716268372921925 X-GMAIL-MSGID: 1780716268372921925 Add a device tree for the Samsung Galaxy Tab 4 10.1 (SM-T535) LTE tablet based on the MSM8926 platform. Signed-off-by: Stefan Hansson --- arch/arm/boot/dts/qcom/Makefile | 1 + .../qcom/qcom-msm8926-samsung-matisselte.dts | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index a3d293e40820..cab35eeb30f6 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -34,6 +34,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8916-samsung-serranove.dtb \ qcom-msm8926-microsoft-superman-lte.dtb \ qcom-msm8926-microsoft-tesla.dtb \ + qcom-msm8926-samsung-matisselte.dtb \ qcom-msm8960-cdp.dtb \ qcom-msm8960-samsung-expressatt.dtb \ qcom-msm8974-lge-nexus5-hammerhead.dtb \ diff --git a/arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts b/arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts new file mode 100644 index 000000000000..6e25b1a74ce5 --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts @@ -0,0 +1,36 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2022, Matti Lehtimäki + * Copyright (c) 2023, Stefan Hansson + */ + +/dts-v1/; + +#include "qcom-msm8226-samsung-matisse-common.dtsi" + +/ { + model = "Samsung Galaxy Tab 4 10.1 LTE"; + compatible = "samsung,matisselte", "qcom,msm8926", "qcom,msm8226"; + chassis-type = "tablet"; +}; + +&pm8226_l3 { + regulator-max-microvolt = <1350000>; +}; + +&pm8226_s4 { + regulator-max-microvolt = <2200000>; +}; + +®_tsp_3p3v { + gpio = <&tlmm 32 GPIO_ACTIVE_HIGH>; +}; + +&sdhc_2 { + /* SD card fails to probe with error -110 */ + status = "disabled"; +}; + +&tsp_en1_default_state { + pins = "gpio32"; +}; From patchwork Wed Oct 25 08:37:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hansson X-Patchwork-Id: 157933 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2453061vqx; Wed, 25 Oct 2023 01:42:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFTtdMBnpu8jtswfoRWx/7T75QgpXa9ZGGXtqr5IcEg+SBkMrG0imTKsfQN3GabuuhqF8QO X-Received: by 2002:a25:d055:0:b0:d99:d1b8:672f with SMTP id h82-20020a25d055000000b00d99d1b8672fmr15524256ybg.33.1698223350063; Wed, 25 Oct 2023 01:42:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698223350; cv=none; d=google.com; s=arc-20160816; b=qnVwYRyWlZk+GYOCvi0N+AreQuP+c2MxqJQjgOY1Z/FZpb+3SFcznDGTFbDuDICwaM f4lliygrBMaSBMKCO7JirfqNKKzzXyI8pQ6l5xXgaEd4gmusbSJAHKco1iee3cTmfq4z sISJMZUQWxPbkGu4LGmkQqzoGtWb3m/i0DbP+q33qD6zgjUF9cOXR6LVUssrtIijwSDC kRVrRo8nqLnrII56DDP5oWz5Ex3i/sbbVEHNjE8p5V20hWhR79hWVYallKllf9D+oeBF z02pUCNbIsER+59StnYiKu9iJAicLSkUwdsCU1hctZYYASMHLXYmLmWDqbO3YmgRGFjR MvJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:dkim-signature :from; bh=6r3dSHTG8MJoeBeMsRc4og7REhXyB8UTCzvH7ydN/3E=; fh=8LmwB/n4G53CQiHYO+ycQgPivED5y1YDH/Ve54KLwm0=; b=BZvJibAGw+AwgwRI0ppeq9Ciugjvft77T1MzwcRKnFxkLzj2v31ciMNCkxMGSRfYbH lOyCM55AUBtIYla4ZBAQ9vocZx0SGHQamIxMQ8Nb3SshIjvVKO3Sund0pqGfkrgIG85f T0Aehbjwp6/33MRjyIo12+nk7MN5hPTRmOqgaC67duZxZkO/MRGK0hihGb/kSkCLHAGE f4AWjf1ni321+34QcAbQ8VK0XwQd2LabjMh/aLAu/UxLKe65mXsa+ZRGBnfYRpMtAR4o B4pgD3ZkhqmUNu7hDSTUw8r2Gf7rKXULUYM2H1/WpyrUVuDMqAs6gn2RXtYiwb8lM0Gt 8B4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=adHunTKc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id 195-20020a250dcc000000b00da037a67896si3814129ybn.189.2023.10.25.01.42.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 01:42:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=adHunTKc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E62C7801BA58; Wed, 25 Oct 2023 01:42:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234204AbjJYImW (ORCPT + 26 others); Wed, 25 Oct 2023 04:42:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234092AbjJYImN (ORCPT ); Wed, 25 Oct 2023 04:42:13 -0400 Received: from proxmox1.postmarketos.org (proxmox1.postmarketos.org [213.239.216.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AD167136; Wed, 25 Oct 2023 01:42:11 -0700 (PDT) From: Stefan Hansson DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=donut; t=1698223330; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6r3dSHTG8MJoeBeMsRc4og7REhXyB8UTCzvH7ydN/3E=; b=adHunTKc9d920qaqb9go7VoYx4Y0Xim/PsaK2W0MtQbfJbmEt8EkuCqpcRE20aPVQT6cnR j7+p5unkDJpGRwIqMx05No79mkXF5R8pLdgdlfNJsaiF+WBI0IDnpZV0KMsHwINlX90X/b ntKRDMdggvr/FBOQN/wlNJyY4yZqUX4= To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Stefan Hansson Subject: [PATCH v3 4/4] ARM: dts: qcom: samsung-matisse-common: Add UART Date: Wed, 25 Oct 2023 10:37:52 +0200 Message-ID: <20231025083952.12367-5-newbyte@postmarketos.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231025083952.12367-1-newbyte@postmarketos.org> References: <20231025083952.12367-1-newbyte@postmarketos.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 25 Oct 2023 01:42:29 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780716247731459658 X-GMAIL-MSGID: 1780716247731459658 This was not enabled in the matisse-wifi tree. Without this, it is not possible to use the USB port for serial debugging via a "Carkit debug cable". Signed-off-by: Stefan Hansson Reviewed-by: Konrad Dybcio --- .../boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi index 11fec4e963b7..35290ce63b40 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi @@ -233,6 +233,10 @@ muic: usb-switch@25 { }; }; +&blsp1_uart3 { + status = "okay"; +}; + &rpm_requests { regulators { compatible = "qcom,rpm-pm8226-regulators";