Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2970852rdb; Tue, 13 Feb 2024 03:02:44 -0800 (PST) X-Forwarded-Encrypted: i=4; AJvYcCV9b9rmatoSsd3+WYdjhAkZxe3fP6HOVRmjW/3TwxT0xGBKjwqg+IluIsRCL3UAaIUsoiGZ5mQr6LQbYjBCMvtgNMdfsF0DkD1f+iQ13Q== X-Google-Smtp-Source: AGHT+IH6rF9mCVHx5hC7axODZxU3rBC/+nzSpQPwRrKl7qTmOo7kqa16xYOXyG22AOfG5BtSWFWO X-Received: by 2002:a05:6402:2707:b0:561:8535:766e with SMTP id y7-20020a056402270700b005618535766emr5298825edd.41.1707822164345; Tue, 13 Feb 2024 03:02:44 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1707822164; cv=pass; d=google.com; s=arc-20160816; b=G4WXqbPgWWUa9JKpvbQdz7Db567CcGPYmYVB4h5kDsVC2gYjQ61g6z234+Ltj/OZVs k/JCBYyTdW1zilf5lKWAuey4jOFd0ORbc9QatX0JSmrOaMlRmZkpMbesqAdfUwbsC0df R7krz7jPaG0NV8FDOVbc6ZotDFcc9zjqgjXME5AdHIyhr/2DHtp6auRAZzmoD8CcGN8U xSW+xdZbPkN14t3KdQ8OW3+kTf0o1JTRHxZfoBdH5/UzRfV77FMVqjmKOTd1EzLkUVnB lkKM6vrv4rd+gOtD9/uTVs6Jp/bxLYZsNMSwzVt8kcPe53CDpXxbKaYX4Je3Kng3XxEh JFQA== ARC-Message-Signature: i=3; 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:delivered-to; bh=tKORHJW9ZJ+RKaYm7ZjJh+PgSp3vc2jvm+w5YVR/ZuA=; fh=CEiyIz4F+0uifD/3QH7t1HM6zLI2/fjE3nd6m39gcbk=; b=SvT5aPZmklIZzSjNSjBwV2nMWeooEBcKvJG5/aLPujm1zTJdXgGg3gwC3L7AV+hDvx QVRkfna/WRpE0BWYadPzf1MSNgbCi3WpNtVcZ25UKa7AToAVy09ATt3NZsBezJW11hLZ ZHbHMj0H6+1m3KS7jT34bfLJS/iUkY6ciwXnRO9f7e6bUpBkX0vevoVj61IrIoF2kS8Y 1o7lzB1/frDjyd9BxSzWPzGozJ7lWeCVXkor/+8MWfATJygd82/Nw4xbHWW5GW3j+5t/ wbYKlzATvsBZzam10hpC5Ln/Mn53RrA88zCmQ3mLsw070GAjehAF/zpvsm4cCwET0FK/ PSmQ==; dara=google.com ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@rong.moe header.s=zmail header.b=EAtzSn9r; arc=pass (i=2 spf=pass spfdomain=rong.moe dkim=pass dkdomain=rong.moe); spf=pass (google.com: domain of linux-kernel+bounces-63389-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63389-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=3; AJvYcCXjZc4Hkr31txG2Cn08L8MUu+qhvI960/O8PdjL2E4RpgG5JAWypiBa2Qc9F/0TlKwulAuWsBcKe2XAbo8amaFgD9tsmUUAmL04r9DCNA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r18-20020aa7da12000000b00560b79e9520si3737634eds.239.2024.02.13.03.02.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:02:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63389-linux.lists.archive=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=@rong.moe header.s=zmail header.b=EAtzSn9r; arc=pass (i=2 spf=pass spfdomain=rong.moe dkim=pass dkdomain=rong.moe); spf=pass (google.com: domain of linux-kernel+bounces-63389-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63389-linux.lists.archive=gmail.com@vger.kernel.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 0AD011F27073 for ; Tue, 13 Feb 2024 11:02:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 109AB2C870; Tue, 13 Feb 2024 11:02:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rong.moe header.i=i@rong.moe header.b="EAtzSn9r" Received: from sender4-op-o15.zoho.com (sender4-op-o15.zoho.com [136.143.188.15]) (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 76E511C687; Tue, 13 Feb 2024 11:01:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=136.143.188.15 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707822120; cv=pass; b=sT0RmKD64JNRRxLOulXpo2eg8dfLrxhNapwDJJ1MIBaUpPQewzkqGApeo/29VJa4sYkbyT1j5dVT9PlotVDSkUnI06P9HwBpLQ/aKziAaFQ2PcXUS/ndsm4oYunN5XYLfmo44JBfqbXjVlJIclJBH0CPZWd+NV8nAPg4H7D4VNw= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707822120; c=relaxed/simple; bh=f4AEw6JtPd+YXQjqhXGB59pRO286WMZxRukNCFc/v/s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WGXKUeb6QbdZArKL1PPhABwfEYFP/cLpcc0dEvWBcfLbEQS51i5321xc7852rny3e+OObM6wqXeglGcFv44bvY+/x42vh6lZj/eTvFzLYX487ou8A7Ib5rtlhwpzHPNRGGXvCftpIl7IbVJbpHFKbwq8XbP6wQPS++54QsqJ/S4= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rong.moe; spf=pass smtp.mailfrom=rong.moe; dkim=pass (1024-bit key) header.d=rong.moe header.i=i@rong.moe header.b=EAtzSn9r; arc=pass smtp.client-ip=136.143.188.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rong.moe Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rong.moe Delivered-To: i@rong.moe ARC-Seal: i=1; a=rsa-sha256; t=1707822112; cv=none; d=zohomail.com; s=zohoarc; b=FXyuTRe9yCy7BfKVVddph7eJknXcyEe9JaKzXrQVWU91Y2oJMzi+fnqPLyzpbiGcZRPlMCXhMMA7V+GanidJnSJ1iDddXsDhawfYrVG3Pik8HcePXs8dgTFE7HNgk+rgWhmP27Nd1Mihct8M9hfc+hkjbHX8qIvDpQIZjyCCVHs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1707822112; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=tKORHJW9ZJ+RKaYm7ZjJh+PgSp3vc2jvm+w5YVR/ZuA=; b=FpNmfhJs8XXADoEOcluyGgHqOVB1jlV58S+TPErbrT1oBE4prTjiIu5kkNPoWDshXUq+loIMIQFn6HOEbHvpDgXlknVwOU7qqWjDPpY5HBWA1CS4eVCwg0vgWit2xr1Odxw5i7IO+7l8qKjP3cXXOc8dLc7koiQahcbD1YaYehk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=rong.moe; spf=pass smtp.mailfrom=i@rong.moe; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1707822112; s=zmail; d=rong.moe; i=i@rong.moe; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=tKORHJW9ZJ+RKaYm7ZjJh+PgSp3vc2jvm+w5YVR/ZuA=; b=EAtzSn9rhpqmCUvJXJ9p/v9/S0L1J+vOTK4avcAmroHqZqRXNLpfTEcgP5Z0hinF eTx5J9kLuPeQM4nG/6MSnT5I+6GNItFqtXNVRcD4SyrULuNNkfvyxSEoNhTboatkzGF 5EHPUS6+1MuJlc/CCSqKybu2mr88EgB0dpapn1qY= Received: from localhost.localdomain (163.142.242.182 [163.142.242.182]) by mx.zohomail.com with SMTPS id 1707822111321938.4238314459632; Tue, 13 Feb 2024 03:01:51 -0800 (PST) From: Rong Zhang To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Rong Zhang , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Icenowy Zheng Subject: [PATCH v3 0/4] ARM: dts: qcom: msm8974: Add Samsung Galaxy S5 China support Date: Tue, 13 Feb 2024 18:58:35 +0800 Message-ID: <20240213110137.122737-1-i@rong.moe> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External Samsung Galaxy S5 has many variants. Currently, the only supported one is klte. Samsung Galaxy S5 China (kltechn) is the China edition of klte, and it can mostly work with the klte DTB, with only LEDs and WiFi missing. This patchset splits out the common part of klte DTS into klte-common DTSI, and adds DTS for kltechn by fixing up the GPIO pins for the LEDs and GPIO expander connected by the WiFi module. A "brcm,board-type" property is added into the wifi@1 node of the common DTSI to allow all klte* variants to load the same NVRAM file. Signed-off-by: Rong Zhang --- Changes in v3: - Regenerate the patchset with code move detection (-B -M -C). - Fix "changes in v2" below to state why a tag was not added. - Link to v2: https://lore.kernel.org/r/20240127172155.63624-1-i@rong.moe/ Changes in v2: - Split out the common part of klte DTS into klte-common DTSI. - Fix dt-binding to make it consistent with the compatible chain in kltechn DTS. In other words, make kltechn a subvariant of klte. - [PATCH 3/4] in v1 had received "Acked-by: Krzysztof Kozlowski " but this was not added in the v2 patch due to the change. - Link to v1: https://lore.kernel.org/r/20240121154010.168440-1-i@rong.moe/ Rong Zhang (4): ARM: dts: qcom: msm8974: Split out common part of samsung-klte ARM: dts: qcom: msm8974-klte-common: Pin WiFi board type dt-bindings: arm: qcom: Add Samsung Galaxy S5 China (kltechn) ARM: dts: qcom: msm8974: Add DTS for Samsung Galaxy S5 China (kltechn) .../devicetree/bindings/arm/qcom.yaml | 7 + arch/arm/boot/dts/qcom/Makefile | 1 + ... qcom-msm8974pro-samsung-klte-common.dtsi} | 13 +- .../dts/qcom/qcom-msm8974pro-samsung-klte.dts | 833 +----------------- .../qcom/qcom-msm8974pro-samsung-kltechn.dts | 16 + 5 files changed, 47 insertions(+), 823 deletions(-) copy arch/arm/boot/dts/qcom/{qcom-msm8974pro-samsung-klte.dts => qcom-msm8974pro-samsung-klte-common.dtsi} (98%) rewrite arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts (99%) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-kltechn.dts base-commit: c664e16bb1ba1c8cf1d7ecf3df5fd83bbb8ac15a -- 2.43.0