From patchwork Thu Feb 15 18:01:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hansson X-Patchwork-Id: 20454 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp21183dyb; Thu, 15 Feb 2024 10:04:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU6LdRl0csq0SqCJFOMcCmkbRv5af/eVfraphipbAyaoPwsoOJb7gRYuhT+BKaOVGmJRllrtWdyjVsE+9F1Bzt2SzOsGw== X-Google-Smtp-Source: AGHT+IGTMAje50rZCWIbp/QFILTRuUV0jH/xyxWRWYU+aKvsKdQwX+sUUhhmnw9STrz1aIWb0qtI X-Received: by 2002:a17:907:1002:b0:a3d:5e18:7341 with SMTP id ox2-20020a170907100200b00a3d5e187341mr2038780ejb.44.1708020249795; Thu, 15 Feb 2024 10:04:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708020249; cv=pass; d=google.com; s=arc-20160816; b=vl+QzxM+sCT+Wd7T6KpimtQObrhBppHBHSZv4kv/DRv3h16tYA8nIUcLvtuqjAPLK4 mbgw8DbSpov/rBqdJFGQYFmmnXO5zCMiY2kTDRvCNUUWIBMRIs7L3pumcPYhvVhqIXVI o7pUncn2mRi2ApdGhuTs4SqSaUCsl3yNNFsXtEXnMRbzQOJJniefmThj54vLllgbs2Jr nb++Yt3qAN5zsZz1u9fiCuOZyQ12tjXX06LtaadNbYDWQY/H9PbwFu4Cu9LNQq7MnHPQ ZTcJ1JNyATfa6HCz4aqBPxMyGWZr5MG6Lewl3bfAv9zuCwnl7VnCaXO69jek3itsqk1y nvEA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=1VE/5xVbfZhsE1tQbNSqD+Z1w2MonyJu5sdqEf5rHvY=; fh=iPW6QHSR842gExw8z6tWrVQC+hV6GuPzvoX6GAZrgFQ=; b=PWrrIW5oVchFS34iYJT/chk2zmfF2kXrz0nMr5ZUPSy/xY04xBgke/hlB6tXjxD1Ab 7hR04u6V3dFPHcZAwp2gMk28V4tLzB1X+NUuq8nbqfAOShCRBOoKDcZq+8Mxwvv566uw fPyyYHAqrFYlkYZGIUXmbgZc363mtLoG0TG4lzSqbnE5qY/kzbhJXKW8RudvGfD5EQug xYRgPYju6ksyosq6XTGDPnQp9hwZP/HGoK7fRrp9UAaTJeRwdHhrUAHYKnQFUWCxcsGO pNpD6c3z+9ZrTIPcoqhAh6XRKvFiBOnGO7L2imOifb49w0HgIiGJnLALduOhLlkQoeN/ qqPQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=jNna6iLf; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-67466-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67466-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id oy9-20020a170907104900b00a3d6884299csi821299ejb.637.2024.02.15.10.04.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 10:04:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67466-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=jNna6iLf; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-67466-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67466-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6A95F1F222D7 for ; Thu, 15 Feb 2024 18:04:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8147613958F; Thu, 15 Feb 2024 18:03:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="jNna6iLf" Received: from out-185.mta0.migadu.com (out-185.mta0.migadu.com [91.218.175.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD716137C35 for ; Thu, 15 Feb 2024 18:03:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.185 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708020213; cv=none; b=rJU0rZ4Exnw7p86ioUXDtU4f59nd72UvSvpIXJNY6s31Yoc62nBJxKh9IfdQ4Z5ew9oR20sZd1+RRjQEv34nEi9h0cZQxL2sAHeL5B50gCtq14BTs70sbNSRYGHo3/zNPRSob78Dy8waSoTtmpEHLH+ovZJ080iYRKxsGPA94LY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708020213; c=relaxed/simple; bh=HKanBpsGd5WhYiDimwy9XwtjAltU0LiKFEN2I4Q1tw4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QoOgfu7h4jKBxziktAyKdjcxTdYhadLkT5Jr100jvo7HCjM4gyDdLAb2i9aG+HjoT5WnNuLzIPRobk5RoALrC2j2kJNnB+cjtByGDIC/maPONVzYL4vtFzsnZ0DjrJGkr1S9XW3QbzV/dNVZMjlyMbBbOZHb5BBLBL86JeImhjE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=jNna6iLf; arc=none smtp.client-ip=91.218.175.185 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1708020209; 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=1VE/5xVbfZhsE1tQbNSqD+Z1w2MonyJu5sdqEf5rHvY=; b=jNna6iLfnijI1WQyWubeQ9gKdsprAsc/klgETqPUBgq0WFVUsXzTT9iw9BfSQdHEiU2obC AIHZvRsLv7nPZqa6mq/5S1OnHu2ixv9MKzcSFRrqmtBo5xDEKdGOm4RWv4EL0LitbqoHgB gcn8pRvfiQ1fp4gM1uQYFG5lQZnJxQ2e8Q9GXyXJn8raw9YubkmyBdlADK5mYChpiasITG xaNKCZCK7h/Fx/ehVPnLkCU9ujtkmA3k3yT/fQBHuIAcovOdNyZkpk7MUJIUb+h4EvFcuV IrveVxtoaMGbtSXtUU+UzXYymtm2b+h4FPimEnhhfQQxyhzAAUOnX2BwJtd61Q== From: Stefan Hansson To: 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 v6 0/4] Add samsung-matisselte and common matisse dtsi Date: Thu, 15 Feb 2024 19:01:58 +0100 Message-ID: <20240215180322.99089-1-newbyte@postmarketos.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790989041398091412 X-GMAIL-MSGID: 1790989041398091412 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. Changes since v5: - Rebased on latest linux-next. 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 | 617 +++--------------- ... qcom-msm8226-samsung-matisse-common.dtsi} | 75 +-- .../qcom/qcom-msm8926-samsung-matisselte.dts | 37 ++ 5 files changed, 133 insertions(+), 598 deletions(-) rewrite arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts (84%) copy arch/arm/boot/dts/qcom/{qcom-apq8026-samsung-matisse-wifi.dts => qcom-msm8226-samsung-matisse-common.dtsi} (85%) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts