From patchwork Wed Oct 25 08:37:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hansson X-Patchwork-Id: 15854 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2453078vqx; Wed, 25 Oct 2023 01:42:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFEEW6/Yc9Oy/36UkwyT83e3ThBFJwPdopeeySKzXVFe2Q0fAnlZPEWbRv9JcDH5n308Zg5 X-Received: by 2002:a25:ccd4:0:b0:da0:7106:a159 with SMTP id l203-20020a25ccd4000000b00da07106a159mr1258736ybf.8.1698223352808; Wed, 25 Oct 2023 01:42:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698223352; cv=none; d=google.com; s=arc-20160816; b=amTrFUqs7Axpnq5GJMUeqTT/mHyhvIW05X37MfVKpmVFrcm2rWJD7JySptvmekTObh Vl2l7HcR38ySDJbSSoNrU/33hFg9k4btyAT5g05Gvtm87+0wk1GlfV77meGQiLjdH1H4 DUyuoi0+yOh5EBgPsRQ3GXujUI6xgG8CiCkCAe67TW+OVaz6ghAVfKAkyPNWykISNAZK 6qB+3y/QVVT1/Gah2dqQ9KtxgAbDH1TpO5jn8vIF/aVrGPi/AmVxqZuWDKE05gmFQsjl E+Xtz49cXelkZtp1A2qCWKU3NNzVIeglzkgvW7Bn/Ard58aET3QG6dp3E4+idMu5PpV7 CnEg== 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=PlCQ+ZrJ2KnIONYyu5EKJVJa1cceO7WNfqL1V47Gmf4=; fh=8LmwB/n4G53CQiHYO+ycQgPivED5y1YDH/Ve54KLwm0=; b=OWpxRMlJ1eVhHe+aPEMzJhuB30vvjo3nnh1cMqDJp8wGi5XxsowhODBTqMNUHZn3L7 jZcqOEblxzcVCyjrjG5cimguLe4dUTrF+b1AIifaJJccD/b/jC1gRPM0qIuPe+v/44vg A/b5503clC8NALtz67DxPq7j3hGsvUHUwYUTNwBKNSG/cKOKEIK13PCI4ziR7svFNRuY Xfvy65+Jkt2GwfvgBEa6upTKgt0LymGR8g4UVJrAGjExXe87O8jczfw+nWqtIK5k1hK7 NA/ux9pBh9vLyfdZyMeBzCBxX07M5VoPuPVBOVghcVerMVhniJDrHvSEWQP3R77B5T8i C5Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=NklrLQe9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id x9-20020a25acc9000000b00d867eb8bf05si10105154ybd.533.2023.10.25.01.42.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 01:42:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=NklrLQe9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id DDF3880A13A2; Wed, 25 Oct 2023 01:42:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233935AbjJYImL (ORCPT + 26 others); Wed, 25 Oct 2023 04:42:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233766AbjJYImI (ORCPT ); Wed, 25 Oct 2023 04:42:08 -0400 Received: from proxmox1.postmarketos.org (proxmox1.postmarketos.org [213.239.216.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9D52D9C; Wed, 25 Oct 2023 01:42:06 -0700 (PDT) From: Stefan Hansson DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=donut; t=1698223325; 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=PlCQ+ZrJ2KnIONYyu5EKJVJa1cceO7WNfqL1V47Gmf4=; b=NklrLQe9I0Kvv7+9iWAoz5vtIZrj/VVrLj+pgLMnVoj599XDPUFG30OY2OjB2IsPMw+hUl 8XTtPsg/JVODiBQy0SaIbcPeoIE2fhBendngHOLcOv6+pIEuJlHhPSpFl+5bk9dy6krdF3 6Z/0kiJOC2xd3IPTZHK8hm/nx9zV+zE= 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 0/4] Add samsung-matisselte and common matisse dtsi Date: Wed, 25 Oct 2023 10:37:48 +0200 Message-ID: <20231025083952.12367-1-newbyte@postmarketos.org> X-Mailer: git-send-email 2.41.0 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 25 Oct 2023 01:42:25 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780716250159184754 X-GMAIL-MSGID: 1780716250159184754 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. 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 | 589 +++--------------- ... qcom-msm8226-samsung-matisse-common.dtsi} | 59 +- .../qcom/qcom-msm8926-samsung-matisselte.dts | 36 ++ 5 files changed, 117 insertions(+), 569 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%) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts