From patchwork Sun Jan 21 15:39:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Zhang X-Patchwork-Id: 189822 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp2122713dyb; Sun, 21 Jan 2024 07:41:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHEyJWMOgDneAiF6HMg2uSJ4K4wHm6oc7NiAHNiCB6gg9qvKvwgTEIY5DXOPIcJOIY6jLXZ X-Received: by 2002:a05:622a:1115:b0:42a:3928:2570 with SMTP id e21-20020a05622a111500b0042a39282570mr1583019qty.101.1705851692540; Sun, 21 Jan 2024 07:41:32 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1705851692; cv=pass; d=google.com; s=arc-20160816; b=MtIcJ6OyrDBZRKK4v4//5NxgjNRzXhnYVvsh1/PjAwnvNmodceJAyg1Z/KvKuhPaAA k+BNsrhPsxUyEXDWpSSnjDbhMMyHVZ7lowykqb7+fPB8cwgYcMZoYVCmIuaQlghA3BdH tyaa4vt0gLy0o9oxoW7K3kt+ytk6N4WXkNBf+2iVy7X5BmpumCEjPrSheeexr0Ppfu7M prpihluLk4a+gKD/N1jxAoeETDzGq7r/2lLuKVFe7jiXnBZpO0xBxc6Rx5aIsTxko9lx w0ms7t0x0ibtLje6CD7pjwt1npyHkkEXJKuuBFWDeX39QrIaB3ltEq0s1RhIxi1SlUUo g5cA== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:delivered-to; bh=cyagiiBoIXS1dCugNkX9WQAwzX03eRiQHiuPnM6GWHA=; fh=MG15YqYcQg4kZmcciE88mhthjutuh4TmcirzKiAuvQE=; b=DqiX0SZfO+ejQ+2pCpCU8/JrK5jcvF0EtopxI3pTistGUNlQYGtaKou+dqpQnJZhcR +x4j+qUViEhxi+ivBt8PYJa7knX/1INrhV/GNvvmqnKMj9A17DNkPI/wTHY4iP6PqUj+ P2uNwmUqiYsxYBQGI4IuIgo27Du2Xq18DmbLyGAMpNdL4bWf2esJ76ewjjtCr3AbZIDN +IeaCrAxkmJAgLaoNwjwfJxxvUxF3JhAB5+7GzAdToC/PM8/cOSMB2mIvsCw2dZ2pXRb eKEOaE9erXkgGiYgc3EZ49O1SOBfKgFIAxkPmI+Q3bsSEps5gtLXxUSPnTixb33rm0eU NJNg== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@rong.moe header.s=zmail header.b=q1q7P7rM; arc=pass (i=2 spf=pass spfdomain=rong.moe dkim=pass dkdomain=rong.moe); spf=pass (google.com: domain of linux-kernel+bounces-32098-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32098-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n18-20020a05622a11d200b0042a2701b4dcsi3693018qtk.170.2024.01.21.07.41.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 07:41:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32098-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@rong.moe header.s=zmail header.b=q1q7P7rM; arc=pass (i=2 spf=pass spfdomain=rong.moe dkim=pass dkdomain=rong.moe); spf=pass (google.com: domain of linux-kernel+bounces-32098-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32098-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 56B401C20C14 for ; Sun, 21 Jan 2024 15:41:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1BE9376FD; Sun, 21 Jan 2024 15:41:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rong.moe header.i=i@rong.moe header.b="q1q7P7rM" 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 E968B376E7; Sun, 21 Jan 2024 15:41:07 +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=1705851669; cv=pass; b=QZm/yYcvO1ZE58cdsV8/y0xhI+M4gXLxCLAgpzRHNRXVNWooNBYDhV0JhR4S26GxLqEiSybMiSunc3Lyuf7rUBP2M2Mq5x+QfwT5wy4ioryGsE85WeOTwhzqNMtIkFCF1Gr+LmqKGifCrMRZQcYnbwzYJMZ3FLMj902r0Zsg+8k= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705851669; c=relaxed/simple; bh=ZWAnbNX2A77f01fY1Jm8qIefZg4RE+HtH8CrZCSOWLQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qoVly4yAj0RCJ1QNeOSxM4p4HzFphltwNDO967PHHV+UmcWBr7s5X/inr+e1mm2943bzcbdD0yZZWpUo6M8PwBFEOsYnqtkje7WhPdI4eLyXW7vDjWq3M08B3XYhNvfSUfo3/eIADlbrvhFQso69ukBIHOY40UIIONNKrZRS2Xw= 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=q1q7P7rM; 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=1705851659; cv=none; d=zohomail.com; s=zohoarc; b=Gw666675PWOPgIIu3/i+rbesN7H/JWLT92hLYkK7muB+nS72M6N5VVC4z90hYkMerqN91mDd9EC/GisYKDG5KtIwisXu5wm4Rq+uVACHqu5ImaO/fO2C4TnYwSaXmnMksHG2uBILN3q15NOuuV8mN3RCAI6tbn1pPhOHRTxXt3E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705851659; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=cyagiiBoIXS1dCugNkX9WQAwzX03eRiQHiuPnM6GWHA=; b=hBEFbgWTBD6qSJCB3Y0iVrqox8WFW8/0mDoHFybZootAWbSI+/ya/laxvzqMGpvNu0eFOKPS8vWpht0Rj8AKIsZ1bWWowtvXUvTA1Lwr5DepjWQrykmGH+ne5TW0/ZZbFfhuybPOGHOTPTJoFsw/u9BXPD3XtKLY8fOhdbgjH9M= 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=1705851659; s=zmail; d=rong.moe; i=i@rong.moe; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=cyagiiBoIXS1dCugNkX9WQAwzX03eRiQHiuPnM6GWHA=; b=q1q7P7rMXL3lsuaYk3bNqhRGXu/AytCi6g3LQd2OcLdb9B3sx2qAgD5DxoVIJyZR mk/y1XIEIiK1CBddsVAW+LK3Zj7Gsaoxe004hrE/4HODQ6CXdHomw1bGtVtjEW88Gg4 4adwQBrdDOXgeUw04p/Z7kr5cIzObILtLZs+u7Jg= Received: from tb.lan (182.118.232.129 [182.118.232.129]) by mx.zohomail.com with SMTPS id 1705851657832354.4997771838583; Sun, 21 Jan 2024 07:40:57 -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 1/4] ARM: dts: qcom: msm8974-samsung-klte: Add label on /i2c-gpio-led Date: Sun, 21 Jan 2024 23:39:56 +0800 Message-ID: <20240121154010.168440-2-i@rong.moe> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240121154010.168440-1-i@rong.moe> References: <20240121154010.168440-1-i@rong.moe> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ZohoMailClient: External X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788715144233770917 X-GMAIL-MSGID: 1788715144233770917 Some variants of klte, e.g., the China edition (kltechn), have minor differences to differentiate them from klte. This includes the GPIO pins connected to /i2c-gpio-led. A label is added on /i2c-gpio-led to allow DT of other variants to reference it conveniently. Considering both LEDs and a GPIO expander are connected to the node, it is named "i2c_led_gpio". Signed-off-by: Rong Zhang --- arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts index b93539e2b87e..013946ccda0f 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts @@ -77,7 +77,7 @@ touchkey@20 { }; }; - i2c-gpio-led { + i2c_led_gpio: i2c-gpio-led { compatible = "i2c-gpio"; #address-cells = <1>; #size-cells = <0>; From patchwork Sun Jan 21 15:39:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Zhang X-Patchwork-Id: 189823 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp2122804dyb; Sun, 21 Jan 2024 07:41:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IEBsU2TYE+Z4yUYL9ciU06NlCKGJTTFRcEiHXF4Vn4cKhT6Lue/D5TIfYxjEOfbkbfszHQw X-Received: by 2002:a05:6e02:12a4:b0:360:d817:57fc with SMTP id f4-20020a056e0212a400b00360d81757fcmr4153595ilr.12.1705851709699; Sun, 21 Jan 2024 07:41:49 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1705851709; cv=pass; d=google.com; s=arc-20160816; b=hRMHqdDbXBw6+JPtavsMeSYZUgqhUHRQn+zGfLtlR9xk/CLosg0eHAWn/T2YC/nJA1 5WztUH7HRiQs5cv4Ys8F6jO3qrs0CJKzD+quBNPgY9w7BBAzXuHAxn3A8jGZAzj6nYkl P1QOnNWvXbuTJwgpvFGrsZG90A3kZ1Vf1IeIJ1hpfJhf3Ic79cvOP0h6+x1z9U4AuUP3 enis2Jt0UhiXWARulwme+y4S2dJnGnFkF6bD/uCwoQsZgpUgQc9cABLtQ/0pRlwEhvsj HfhhaE/Mwj9VbR14Bw+acL9+9ydwvsSbB4zVuY+U1YZ6gzZRWEidErwfh/h4A+46I/3H X1JQ== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:delivered-to; bh=QJQSc5Zs0LAGeoCIvUPc8jDMeS43dCWdp6AOjy8XecQ=; fh=MG15YqYcQg4kZmcciE88mhthjutuh4TmcirzKiAuvQE=; b=Tx99XYt8c0mLfGK/sLyqzMEcJ46TVf6vsTnRL3Nw07OpbYyBNbLKlWRDlocdkWLl2z W5oILcBLnllZzvR/NJBrdYl5vLqJwET3vJkZnDSgzA1A1HA1SQjbFT9jnJZguF1hspyz ezJJCWttARGyX/Hy5Tz8eKR6NaSPrGj7+NuuQTiHEhOvAMeSLgrn7E/+Ti7H+mzUq8o1 3qYgZryIiMQECRryqvxkL9bUJ5jgFS2fLVyHeyPutzrvdR85Jzh7BxfrvDfNHSvtuZr3 dGeBDD26s2uni1VS+JzyzBlo7O+cTl8+beI2PycvWy87OUSj2S08SZBIq/5TYikWRm8f emlw== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@rong.moe header.s=zmail header.b=taKDeJHB; arc=pass (i=2 spf=pass spfdomain=rong.moe dkim=pass dkdomain=rong.moe); spf=pass (google.com: domain of linux-kernel+bounces-32099-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32099-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id nr1-20020a17090b240100b0028e763fd64esi6545744pjb.26.2024.01.21.07.41.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 07:41:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32099-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@rong.moe header.s=zmail header.b=taKDeJHB; arc=pass (i=2 spf=pass spfdomain=rong.moe dkim=pass dkdomain=rong.moe); spf=pass (google.com: domain of linux-kernel+bounces-32099-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32099-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 753B62808FC for ; Sun, 21 Jan 2024 15:41:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E91B2381BE; Sun, 21 Jan 2024 15:41:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rong.moe header.i=i@rong.moe header.b="taKDeJHB" 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 5A77F3771C; Sun, 21 Jan 2024 15:41:11 +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=1705851673; cv=pass; b=OPw0mqnEHD2ffdoc/8YRmBfEuL8lA1flbrrikOVSh39nP5wUxjqH+qA/fTbIfhLZtb1gbSBrUNg/cAueTGl9hfvWBpCeEE5+jYzuLV/wZe9FKlOC0xgUM9e1a1vEwaITAzMa2KgtC1RkmpNe2CtXIYquYS60/jYmjCeOJE2gZ3s= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705851673; c=relaxed/simple; bh=ik6qCUEqxmnFHKkHRE328geiO+07leDvG+heycD0R9E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=en49Srg6eA6ToMf9whIuTYidFA8k4m65nUDphDX9Iu3r+QE+UByNfaZAC1Pqiw0pcjP8IxGapfoxsfC9L/rZrnLMgs4/ro1wHh2JvRNYwuL8uLaLGTpfdO7jLU3+deYA+5vXmJvAlnpDb6pdHJ83PU8UHcReqUUZm8dkIaa9044= 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=taKDeJHB; 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=1705851667; cv=none; d=zohomail.com; s=zohoarc; b=l8ep7wAUn+RaA2pPFAi4jmfLgyJvllS+oOm/JJEP4qktQMOMdfgNKbcgC8OcOoU6LJgYcXQvW8nga4x5igs3CZyC0GNnlgMy8Ni+tOxu9tPpPjAJiIsZCoijRhLP2etULQuTNbMn0StzBFCeUK3czvw3DOBuSoR5GpUm5WKJRbI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705851667; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=QJQSc5Zs0LAGeoCIvUPc8jDMeS43dCWdp6AOjy8XecQ=; b=Nk6SmmmDkbe7f3IebHO6t5zYZYJGwKSjFmzbFDwKx4TJphqPv8hquKndliAvHFaDWkx5LlbpO5mUreen/SmbNF+rBFKmO7K4FcOtu3RnNL0Ij6fGVdVSa9Of1tBVMjG0KgNjDcdZ0RDGFBEXCali4c8tf+YmRuuepHb7YPkuu7g= 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=1705851667; s=zmail; d=rong.moe; i=i@rong.moe; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=QJQSc5Zs0LAGeoCIvUPc8jDMeS43dCWdp6AOjy8XecQ=; b=taKDeJHBeCHBsRqGeOEkoDef/m9SyMAhLAmDfle4sCurw/3RQqlJBg8sdqTzo+89 AfT66Aj9GPXMLgZ+g9BUu0iwtu0ayZdoYdsZyTexvqcLuR82rpqVmtz/8/tKPxC2euG 06F+sBZv/+3Naa1vmZcsTzrWxTc8ACMe1bK82ya8= Received: from tb.lan (182.118.232.129 [182.118.232.129]) by mx.zohomail.com with SMTPS id 1705851666482538.1377714303437; Sun, 21 Jan 2024 07:41:06 -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 2/4] ARM: dts: qcom: msm8974-samsung-klte: Pin brcm,board-type in wifi Date: Sun, 21 Jan 2024 23:39:57 +0800 Message-ID: <20240121154010.168440-3-i@rong.moe> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240121154010.168440-1-i@rong.moe> References: <20240121154010.168440-1-i@rong.moe> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ZohoMailClient: External X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788715162400597030 X-GMAIL-MSGID: 1788715162400597030 klte variants, namely, klte*, have little difference in the WiFi part. Pin brcm,board-type to "samsung,klte" to allow klte* load the same firmware. Signed-off-by: Rong Zhang --- arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts index 013946ccda0f..9025345a1ab9 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts @@ -665,6 +665,12 @@ wifi@1 { reg = <1>; compatible = "brcm,bcm4329-fmac"; + /* + * This aims to allow other klte* variants to load the same firmware, + * as klte variants have little differences in the wifi part. + */ + brcm,board-type = "samsung,klte"; + interrupt-parent = <&tlmm>; interrupts = <92 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "host-wake"; From patchwork Sun Jan 21 15:39:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Zhang X-Patchwork-Id: 189824 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp2122914dyb; Sun, 21 Jan 2024 07:42:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvunVTyKzQc5pd42oRYFLTiH9xeVZqN8fHviFEuk47WdDWQ5ISxPR49m31MO+7K+3Zf8zR X-Received: by 2002:aa7:db96:0:b0:559:351e:231d with SMTP id u22-20020aa7db96000000b00559351e231dmr841064edt.127.1705851728133; Sun, 21 Jan 2024 07:42:08 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1705851728; cv=pass; d=google.com; s=arc-20160816; b=cSNPtjr7kC6ohxovG/p461F7+vOqcbpqiNzzdmq7MCb4hY1eOLOAcb+JU7H3x9K9OH HIQMd7V8CX9h1/2FURESgJqRUCxfsCM7+qqRqOmauUv7H4MEf9NPUXXniUpeHQRJu/K0 C+xcrryR9fMs9ZhFDej17YVJouLio4W9agzhFCXhOiH0UOMJCus6K1skZyAZZAFhDZNU uW8lrwlyJQGtnck+YfRdZkucm9qncnzvV2lsEmyr1wDeTGYQtTPrMQu4Txss63z+dUo5 FTEscxOLaIOZPLF5Vy6KnKHE4t5o9aKOz6p3JJV/4lpwMjqfX4IyaJlTy3hqzhu4NdiH Ejew== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:delivered-to; bh=jusAEr/6CP3YgIm/JYi1U4Od66lMyl2Vie0zS9sHYaQ=; fh=MG15YqYcQg4kZmcciE88mhthjutuh4TmcirzKiAuvQE=; b=i5ibVKlOQmH0cL1SwzAQhvgVzD3x4GPggn5bu3KbfMelF3yfdEKOBuy+qCY7mqBwi4 UbMyevqb9ESJQEFsXJHvsTPj89+z1b7dhdlXRblUN6hNFkcz+Y0kJxd9BMoojJPiiAbY 2fRa8TV8UbESIXP4WPVXUqMSVBF4/IUJhfbsLpoHRR77ugl3MaaMhXPG8hIC8QAf99Go b3GftTJ1sKXq+CL60NyXwhnQOMrl839zB3eshUwJI85AIYBlra28NC8viaLEZJvRPeWU 3z9g5ZmC+jLuaumq+j/xztjE5P6dqFkR2BTnwb2E/J0NlNHk7xKLfgbbPOLR1PD1uiua R6qQ== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@rong.moe header.s=zmail header.b=LzhU+z6h; arc=pass (i=2 spf=pass spfdomain=rong.moe dkim=pass dkdomain=rong.moe); spf=pass (google.com: domain of linux-kernel+bounces-32100-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32100-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g25-20020a056402321900b0055a3abbbfaesi3529610eda.323.2024.01.21.07.42.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 07:42:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32100-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@rong.moe header.s=zmail header.b=LzhU+z6h; arc=pass (i=2 spf=pass spfdomain=rong.moe dkim=pass dkdomain=rong.moe); spf=pass (google.com: domain of linux-kernel+bounces-32100-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32100-ouuuleilei=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 C0FBE1F23008 for ; Sun, 21 Jan 2024 15:42:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3434D381D4; Sun, 21 Jan 2024 15:41:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rong.moe header.i=i@rong.moe header.b="LzhU+z6h" 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 35E02381C1; Sun, 21 Jan 2024 15:41:19 +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=1705851681; cv=pass; b=qUl9TrDYx4EOtJisdOX9FpEZ9B5VDiq+34xNZ2m++3uSfBtLMe2xZUQwKmxDa6V4irX/dnn+G7B5WPFbp98mrBhl9tRmUMt41LhQ7MWHf6Y3PTqtO+pMC2wXzQjjiWmcaXJs5cVb3cicc30+2As8m/HVFa20qMBx6M5VOSlJ+fw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705851681; c=relaxed/simple; bh=sVvxCHlSK/+sfe9ob5O+VzxcoO0+Nlcp8+Z1Z8K2LVU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nrIYbliuG7qiEGh0ZEBOT0fJQX3PrbblGPVgH8HjLG4gsmNdXoYj62DjTIhi/HVl84ZRY6gj91BwCugh1jhpJGzCj2EojCjsbtFAaq1cxGHBplsC/HI2kQ4V8BMfMx0lZGCzquN/0cqUT+Jg/KAR2dPeHoXm5Opjsuud8HE3lMs= 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=LzhU+z6h; 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=1705851675; cv=none; d=zohomail.com; s=zohoarc; b=lKrnC5iz4EjAUlM1dG3yvv2jsrRh5fafKoN6K4ecgRjhwpT97gmhZmNuOP9cqGNGEJtv0G89idRnCXqWmU38St4+2taGqt2tZd5T4/Q3EBn7qbHOYS/VJSzdx1JZi6VciSX99lb86xhI5X+xejdXrmR8ZKgvpL+zSicez7qSkBg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705851675; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=jusAEr/6CP3YgIm/JYi1U4Od66lMyl2Vie0zS9sHYaQ=; b=HpS3aMZQlClyi61Ql53IQLKLFAhhlcATY4A9o1rR+tNmkimEpK6aNYPEpDoioJZ3I4Yq7/Oa8+eUQxrc8MEhQubYL5a/wgahIgWbvaNl64QNJzPD+IdsvrYemrLAhYJlBTZzW3D+Sge4KZyWZFz3QphwfY3djglKPEiCoUgjvKY= 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=1705851675; s=zmail; d=rong.moe; i=i@rong.moe; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=jusAEr/6CP3YgIm/JYi1U4Od66lMyl2Vie0zS9sHYaQ=; b=LzhU+z6hUtMtIdC8scxrbPMsLdOVlyBrAy7UlA8Qh04yb5f1aBgLn3i3QC1MlVWe lY2QP3caz8JRmrb/SkkEAGYTFqKNNMDUdah38zxAfgKvJj/YPXzhn8yQgkOlDyZiEXm yqg6IuJzLv8kDXon7uUDDEojOANmx5sst6q8QMpo= Received: from tb.lan (182.118.232.129 [182.118.232.129]) by mx.zohomail.com with SMTPS id 170585167418551.57866219546406; Sun, 21 Jan 2024 07:41:14 -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 3/4] dt-bindings: arm: qcom: add Samsung Galaxy S5 China (kltechn) Date: Sun, 21 Jan 2024 23:39:58 +0800 Message-ID: <20240121154010.168440-4-i@rong.moe> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240121154010.168440-1-i@rong.moe> References: <20240121154010.168440-1-i@rong.moe> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ZohoMailClient: External X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788715181859816867 X-GMAIL-MSGID: 1788715181859816867 Document Samsung Galaxy S5 China (kltechn) based on msm8974pro. Signed-off-by: Rong Zhang Acked-by: Krzysztof Kozlowski --- 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 1a5fb889a444..2bd29a2399ad 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -223,6 +223,7 @@ properties: - fairphone,fp2 - oneplus,bacon - samsung,klte + - samsung,kltechn - sony,xperia-castor - const: qcom,msm8974pro - const: qcom,msm8974 From patchwork Sun Jan 21 15:39:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Zhang X-Patchwork-Id: 189825 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp2123006dyb; Sun, 21 Jan 2024 07:42:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IGUplE0Fu8RA8UYgpClfQWQ9CSQnEEplxw7oXn1ek6Rp8K3xLGtEsOhe2XcBBU3c5mejI27 X-Received: by 2002:a05:620a:468b:b0:783:9c9e:376b with SMTP id bq11-20020a05620a468b00b007839c9e376bmr1066497qkb.8.1705851745009; Sun, 21 Jan 2024 07:42:25 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1705851744; cv=pass; d=google.com; s=arc-20160816; b=TitztTh3l4oCN+KMfk70ECgKQdZmOKN1Cea7Sb8bEzphakn1QYF+Pnk5JGPhujQ7XV ocHb0w7ACxWYDz3ff+BsZ0Y+cQ5K5hbweWH2T93OHPPCNC7zd7Kj69gBizeUyM8rktgf yZxnsTWcg41mZaV95XWIQLNnJTUU3R4c78tFdF7oy+Mgp/Ov3wyAQifzkVVaTE7Oxp4q CDLRbq5OxRfOSVlz5vQMHHv0juPnf3AT6hBCrCY75JtOaTpZSjxgHhlprEY44fWzJLq8 1DFJ99dbq/f/EhelsozhcrEHzbwBdTdQBWQH1jXbqCIEk7mTSZGBpzV2YZub0ulxRX9s 0b3w== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:delivered-to; bh=eBi1Y9eM2A7qnPGgBFbKaTHtAvRFCRKahm/+T4CdbUg=; fh=MG15YqYcQg4kZmcciE88mhthjutuh4TmcirzKiAuvQE=; b=oyye+iFhISDKNGdGJG7ftT1CCuTjQs8o3uIEk5qpQIA+Jw7k9IkKyc42yt/d9jp90y TYKRg3clu5e395uk/d/WbKT4RuQp+BUlpbUVikVJJQyN50iMuWTRoLK0kIMAZzumXoqK 94QUEvzK9HN3pWpjJKW9cnDQxIk6Rd255T5w+MRnB6mrMy4BKZyF63CvHnOnziZ7J9pW MUyQBy4RLEx7oxNLgxm0VBL5563sDBsfLw/DlzgYhOaVadjpQ8BOGpul6B2a4/0mGq8w Lp6TTPQHeUczCAlGFv19tE1Dtl4Z3uLQBLEhapb886E5WbBs+YI5bSVNUNo5T5K/iAAb IH8g== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@rong.moe header.s=zmail header.b=ZYGyGapl; arc=pass (i=2 spf=pass spfdomain=rong.moe dkim=pass dkdomain=rong.moe); spf=pass (google.com: domain of linux-kernel+bounces-32101-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32101-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e6-20020a05620a12c600b00781e6d24d31si3541995qkl.47.2024.01.21.07.42.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 07:42:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32101-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@rong.moe header.s=zmail header.b=ZYGyGapl; arc=pass (i=2 spf=pass spfdomain=rong.moe dkim=pass dkdomain=rong.moe); spf=pass (google.com: domain of linux-kernel+bounces-32101-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32101-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6AA801C20E96 for ; Sun, 21 Jan 2024 15:42:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 407943838A; Sun, 21 Jan 2024 15:41:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rong.moe header.i=i@rong.moe header.b="ZYGyGapl" 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 2A950381C7; Sun, 21 Jan 2024 15:41:27 +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=1705851688; cv=pass; b=uu/TPMIm6GGYLvJOOYIRIAnr3q5FS34dg4jfdOg3cQMGyW9R+zpZaBRWnU78jogzS/MF9QBOJ12bBKG/TMWKJsSmForormS8S/5wQva8EkEfPDLUKCq66GZ3BWDZr9lZzdKYTj2Y+JnsDGan9nOxdQlcAEwz4rUUwV3wIuFJGus= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705851688; c=relaxed/simple; bh=JNfgDL/TeVgg8JNSE5SizE4qw0dFiHemtFsgCnT5juA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kERhD7j6LGrkJxFHqtfhbNhE0ckMUb0id1Z3R6smsqD8hSTLJ4IlRdv5g1UM+Dx0m6hHCHaFihBmx5B4WGUcuTO0MeE/HMEkaGtBmX+l0yYCmr2uhOXxfEz9rHeqprzyPVQMYpG3mmofylkLqKZXp+JrzSW3AbjWKZqVcM5xCsg= 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=ZYGyGapl; 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=1705851683; cv=none; d=zohomail.com; s=zohoarc; b=beDkvSKJd5TjCIIZ8tUMWLRFxYQJSu+l3aEwpK58VOXJkcSZss5Eyun3pcBkKw1lhXSwuVKkIUUR9ZGWuwOz6BgJnyh4ixmbBGYBFETMNcC7ptwcNUpJz4++s55EBKPUHXaRKajEj8pBN5cFMpWFpq00SF7Ud7D1D1UoavvlmyU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705851683; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=eBi1Y9eM2A7qnPGgBFbKaTHtAvRFCRKahm/+T4CdbUg=; b=TyuOSRGgtzwRSO7aQveJ8/0MIuU/1PYrnS0MJDbyxa7p1nGWag+H0FeapliFqxELMmxInKolbjy/Cae2nSncsnaCzRyLQ6SWSc2FUp9bVWQ/HM2W9i6eAMW7HEe8Mze8ETXRLSxPROEAJR4Vr/amvHU1HLGGquWyv2KCdPHOpUY= 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=1705851683; s=zmail; d=rong.moe; i=i@rong.moe; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=eBi1Y9eM2A7qnPGgBFbKaTHtAvRFCRKahm/+T4CdbUg=; b=ZYGyGaplgv2Lh2Cd7VYJjr426hzWAqHBmoRNq3YKeaS6NY3KfVFYMm3rx45sEDPU tSJmrK3AAPI8xbT5iaONKszxh0OdINLZx+mTNQLy0vjaanpfS284uA32s+SNDIenRny v3uC60TPC/qtUOsZ2cAqeXSfxLziiGSfyuxEUIC0= Received: from tb.lan (182.118.232.129 [182.118.232.129]) by mx.zohomail.com with SMTPS id 1705851682507923.9002906477932; Sun, 21 Jan 2024 07:41:22 -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 4/4] ARM: dts: qcom: msm8974: Add device tree for Samsung Galaxy S5 China Date: Sun, 21 Jan 2024 23:39:59 +0800 Message-ID: <20240121154010.168440-5-i@rong.moe> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240121154010.168440-1-i@rong.moe> References: <20240121154010.168440-1-i@rong.moe> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ZohoMailClient: External X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788715199377320893 X-GMAIL-MSGID: 1788715199377320893 This device has little difference compared to Samsung Galaxy S5 (klte), so the device tree is based on qcom-msm8974pro-samsung-klte.dts. The only difference is the gpio pins of i2c_led_gpio. With pins corrected, the LEDs and WiFi are able to work properly. Signed-off-by: Rong Zhang --- arch/arm/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcom-msm8974pro-samsung-kltechn.dts | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-kltechn.dts diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index 9cc1e14e6cd0..5d7a34adf826 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -44,6 +44,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8974pro-fairphone-fp2.dtb \ qcom-msm8974pro-oneplus-bacon.dtb \ qcom-msm8974pro-samsung-klte.dtb \ + qcom-msm8974pro-samsung-kltechn.dtb \ qcom-msm8974pro-sony-xperia-shinano-castor.dtb \ qcom-mdm9615-wp8548-mangoh-green.dtb \ qcom-sdx55-mtp.dtb \ diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-kltechn.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-kltechn.dts new file mode 100644 index 000000000000..5a8d59ea4439 --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-kltechn.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "qcom-msm8974pro-samsung-klte.dts" + +/ { + model = "Samsung Galaxy S5 China"; + compatible = "samsung,kltechn", "samsung,klte", "qcom,msm8974pro", "qcom,msm8974"; +}; + +&i2c_led_gpio { + scl-gpios = <&tlmm 61 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&tlmm 60 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; +}; + +&i2c_led_gpioex_pins { + pins = "gpio60", "gpio61"; +};