From patchwork Tue Oct 31 14:00:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hansson X-Patchwork-Id: 16102 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b90f:0:b0:403:3b70:6f57 with SMTP id t15csp265183vqg; Tue, 31 Oct 2023 07:06:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHu5UCRfy0/mZVwC7O5ja26riQIYg+M/HMXqCZCpzzZtQZqIi/hsBipb7aG3fk8rCcmPgnn X-Received: by 2002:a05:6a21:7897:b0:151:35ad:f331 with SMTP id bf23-20020a056a21789700b0015135adf331mr3507632pzc.14.1698761209939; Tue, 31 Oct 2023 07:06:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698761209; cv=none; d=google.com; s=arc-20160816; b=xSmULMITTehEUGZ7V3u4WdtqyGdlm0Zy96sgEBnHJmvOZP2MGOslhP2naoM0ny4TVF OC7MuxyA7xUA7jphoI2xHgQwBBzPnU+LZtDKo3KVej45dSuqiAHXr5irJlJpiBejb0Og J4bW6Y0rYT6aPPgp12NPaA8K4MUTFuAmiVfKF25vbNNmHvjISpm5mWuByoZY+rEtYV4r /j2AK+C+3LyC5naKyf5AOOLmEDm9PMmjrRsVl+Fdx3Vy+KL8z+SECiIsdwb0lSMTb007 VqxYxGRjlKkYj08pMpVsu+D6z4OM7jp9G+47DoBGL52OlIwQwtnv/NRlr51u+wVFzNcG IG5g== 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 :message-id:date:subject:cc:to:dkim-signature:from; bh=/Ep/mZ9ZbkssxlMMAFCa7aJbvoeNlLr7CxtekDvI4vs=; fh=8LmwB/n4G53CQiHYO+ycQgPivED5y1YDH/Ve54KLwm0=; b=Wn3Hv6uyhl1qDKF4J8pkxzotOoiZ0lwPa9WCbqBA070tfCXimwSgSqjY7eRqvo7k9L fxn4C6eSN9MHGvUf9RcV1OmHnMHFMnNHlbJtfii+uWjFbVOpHsuZ06Mo9B25ItqZ8nxS Q5glurxZUpXy2Jo3z6nHLAFqklZAXV7J3J5roPG7YbaQI66o27o2yVOgxL9rCwz/G4C/ oF/wS1bsGgNzSLpC9ia3KYqARfciBD9k9RJsDvO1uSJkDALsffodo2wD+eWh6SHZTKE2 u5qyenlKu2N3x+q6ZziBJy2goNI3R8WX6TXK8hdZoDW0cTR0p5t3w5eAbpQQvhsobv48 V+uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=fnskD+LH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id y11-20020a056a00190b00b006b4d80642bbsi1054194pfi.182.2023.10.31.07.06.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 07:06:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=fnskD+LH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 044D280BD53A; Tue, 31 Oct 2023 07:06:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235299AbjJaOGY (ORCPT + 33 others); Tue, 31 Oct 2023 10:06:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229875AbjJaOFs (ORCPT ); Tue, 31 Oct 2023 10:05:48 -0400 Received: from proxmox1.postmarketos.org (proxmox1.postmarketos.org [213.239.216.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E0019FE; Tue, 31 Oct 2023 07:05:44 -0700 (PDT) From: Stefan Hansson DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=donut; t=1698761143; 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; bh=/Ep/mZ9ZbkssxlMMAFCa7aJbvoeNlLr7CxtekDvI4vs=; b=fnskD+LHSrMXUMeucpJ8buIt075Khr65usl1WkjIFCTAtTXrcBfVbsVqYz+xhHglaoUgq0 HQviFRtIRjau1/4NIN398+peOaf26V4oDDThlOgTuBD0qdUmBPW6dbF/gQLILpxJby68wY zXB/9iQQunh9jdd0+SLXuplDzDs+a4w= 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 v5 0/4] Add samsung-matisselte and common matisse dtsi Date: Tue, 31 Oct 2023 15:00:54 +0100 Message-ID: <20231031140337.49291-1-newbyte@postmarketos.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 31 Oct 2023 07:06:47 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781280234846307874 X-GMAIL-MSGID: 1781280234846307874 This series adds a common samsung-matisse dtsi and reworks samsung-matisse-wifi to use it, and introduces samsung-matisselte. I choose matisselte over matisse-lte as this is how most other devices (klte, s3ve3g) do it and it is the codename that Samsung gave the device. See individual commits for more information. --- Changes since v1: - Rebased on latest linux-next - Added qcom,msm8226 compatible to matisselte inspired by recent Lumia 830 patch. This is done as in v1, the patch was rejected because I included the msm8226 dtsi despite not marking matisselte as compatible with msm8226, and I was not sure how to resolve that. As such, I'm copying what was done in the Lumia 830 (microsoft-tesla) patch given that it was accepted. Changes since v2: - Updated commit message for UART patch to explain why it was added. - Gave more flags to git to provide a hopefully more readable patch. Changes since v3: - Collect tags. - Remove spurious copyright notice. - Miscellaneous fixes following review feedback. Changes since v4: - Collect tags. - Enable SD card support on matisselte. Stefan Hansson (4): ARM: dts: qcom: samsung-matisse-common: Add initial common device tree dt-bindings: arm: qcom: Add Samsung Galaxy Tab 4 10.1 LTE ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 LTE (SM-T535) ARM: dts: qcom: samsung-matisse-common: Add UART .../devicetree/bindings/arm/qcom.yaml | 1 + arch/arm/boot/dts/qcom/Makefile | 1 + .../qcom-apq8026-samsung-matisse-wifi.dts | 603 +++--------------- ... qcom-msm8226-samsung-matisse-common.dtsi} | 68 +- .../qcom/qcom-msm8926-samsung-matisselte.dts | 37 ++ 5 files changed, 126 insertions(+), 584 deletions(-) rewrite arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts (85%) copy arch/arm/boot/dts/qcom/{qcom-apq8026-samsung-matisse-wifi.dts => qcom-msm8226-samsung-matisse-common.dtsi} (86%) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts