From patchwork Sat Jan 27 17:21:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Zhang X-Patchwork-Id: 193072 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp591863dyb; Sat, 27 Jan 2024 09:24:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IH1vUe71mZmUolHDSikb0KmOudYGVlXghIyK+CiAYIdduYoVFLlbWryphCwmx5m/7ejXxWy X-Received: by 2002:ac2:4bc9:0:b0:50b:c57e:1418 with SMTP id o9-20020ac24bc9000000b0050bc57e1418mr1565315lfq.16.1706376248666; Sat, 27 Jan 2024 09:24:08 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1706376248; cv=pass; d=google.com; s=arc-20160816; b=KeZSgpGMQCv3iNOK5jsfOVikXU7/1mITAAh/Rv+n4VWFb5H8txnfJCBP73MB9WVUuL YltWrZ1EvtwP4aBjmyARqedBAnZbprA8lRh4B2eMtEFslj6o/1c99r8aE1/Dtbdsf1Up BknCsvYf/Y1uwWfznZxHKUnljW9QxvrjD91acoafnJ9yZmntnb36rVtZH75dAHNx/zGh KdlaiwdG+x9goVaxAMEQOGAvRC16kFbbrFtY+9hT1UA/FqgJrphOlWDe61A4Vvpi3V/i 8FbCo/Fuse8JHl/JqaUPoZoxrtmLkdrXoTscELIUwtCFyEFyJaLKKs/dJYEYKhWtjWyk yQAw== 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=pauhXQflxiHTx3+ep5HdmtF4d2AedYZI1LAzRZrEGCM=; fh=MG15YqYcQg4kZmcciE88mhthjutuh4TmcirzKiAuvQE=; b=V9dBLqK16/bBE7av7ATqf16bCt93KxgI36WNTAECDj+XgSJAoH0J0dz+3ZQGYFW0wJ 1DxXjh1hdO8OimqY+0Cn03TqDuinapVVUXy0TWKcFxE59w/GkxRQ0I/qeU2N+yMHqL2C IYKhUSPTjj/63+2UYLoZtWjNimtD6516RXgM5W2E6bqtBNnIqtUrm8GxfLA2hd5CIKBs gg0Gd/lFco7DazkCGILur4GgrlJlbteuXuOagrzZApo8lSrM6zxyFLIlGF5FXEYfTN+q yELFu99qy/xlq878cW9Z1EPUN683N2XoOo9/cLrnpIWZODfyI94Wkm6MusCcQlzqeH7/ cbSQ== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@rong.moe header.s=zmail header.b=aRfIjO1b; arc=pass (i=2 spf=pass spfdomain=rong.moe dkim=pass dkdomain=rong.moe); spf=pass (google.com: domain of linux-kernel+bounces-41339-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41339-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 g24-20020a170906595800b00a34bdf235eesi1923026ejr.852.2024.01.27.09.24.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 09:24:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41339-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=aRfIjO1b; arc=pass (i=2 spf=pass spfdomain=rong.moe dkim=pass dkdomain=rong.moe); spf=pass (google.com: domain of linux-kernel+bounces-41339-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41339-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 417901F229DA for ; Sat, 27 Jan 2024 17:24:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29BE62DF92; Sat, 27 Jan 2024 17:23:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rong.moe header.i=i@rong.moe header.b="aRfIjO1b" 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 0A5092D605; Sat, 27 Jan 2024 17:23:40 +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=1706376221; cv=pass; b=L6zk9qvccWc2c5M74Om1RaUwZn1uPn1n9QLUz+LuvDFXmUDGckwY8oe2vguHBeymCkMRK8/rd33bq3RBVr2xe5PvFnWSSwm8E/JuArW3Sf1QaV6lgeyCkFfpcfHX8EI6y35tYq46YaIjZeJ9ky4MxpOo6788P+seW40SCRAME0g= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706376221; c=relaxed/simple; bh=8snw/S9bFuqeaPU/SR/M26e9RHX4wd3kkLrnrLkpZ/E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=L1pH1SSSEaUpWzu8ptVg2SPyv/fu4V9eBuOjTQWSslxcZAabDNAXSetUfxm5mX/Wrun8Nm4HE3LY+RFfIPzK86hIEN2eNfeHa55iW64rKI0yusSMZz8qUPt0tKbmxDZeIeV6XFvxNthLDM9IuTV8e6uykWv4yHPaSmrLYI3/Yyw= 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=aRfIjO1b; 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=1706376216; cv=none; d=zohomail.com; s=zohoarc; b=cNejvV5U1TlyhM92+E9U4OXpdbQrEp5vGOaOp7+wSw2vmRo6GlpRq0lCG48VNP/j5AvCHDuJ9/5H5+WtruFgP2jyLr3bNaiKe8IZhlKRD+ny16M16aJZmCK/qr8bAofuDymkX0ciiU0hrgjL9PLLxv72AT109LmTYWVR+Jb+XAM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1706376216; 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=pauhXQflxiHTx3+ep5HdmtF4d2AedYZI1LAzRZrEGCM=; b=fe2uBCRonxSTZbo88YOmWPATHYEVC/InjlTCr9keZracZJ7Uy+tN5laIey770k7o6IK1QLr8EPZSOZvLX9YRRmoGXP9Sv2gRCkcKK72H62yqQ4mwxDrKpMTCPiN1AOencAo0Yv0v26XD+K1uyqLtyUX3gefPoUo0/Kh5A/YLeGc= 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=1706376216; 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=pauhXQflxiHTx3+ep5HdmtF4d2AedYZI1LAzRZrEGCM=; b=aRfIjO1boPnjL5ruaQmhOZgEXy6R756KDv7hwAYnT2vl8VbYGQ3Z6irjEfQCcILq MGwYXO/cvR6eH9AnfXuwBFB/4bYqvbUbQxSzz/QmL70/LoV0EfkPyKY74cPVEwl9+YI n82XH9OegE/fliJ+TnOoUuR2BWd9vOABqaTUfDYI= Received: from tb.lan (182.118.239.249 [182.118.239.249]) by mx.zohomail.com with SMTPS id 1706376214914948.8399572552208; Sat, 27 Jan 2024 09:23:34 -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 v2 2/4] ARM: dts: qcom: msm8974-klte-common: Pin WiFi board type Date: Sun, 28 Jan 2024 01:21:51 +0800 Message-ID: <20240127172155.63624-3-i@rong.moe> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240127172155.63624-1-i@rong.moe> References: <20240127172155.63624-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: 1789265181378317174 X-GMAIL-MSGID: 1789265181378317174 klte* variants have little difference in the WiFi part. Without "brcm,board-type", variant-specific NVRAM file will be probed (e.g., klte probes samsung,klte). Pin it to "samsung,klte" to allow klte* to load the same NVRAM file as klte. Signed-off-by: Rong Zhang --- .../boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi index 11e35b34ebd6..b5443fd5b425 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi @@ -661,6 +661,12 @@ wifi@1 { reg = <1>; compatible = "brcm,bcm4329-fmac"; + /* + * Allow all klte* variants to load the same NVRAM file, + * as they have little difference in the WiFi part. + */ + brcm,board-type = "samsung,klte"; + interrupt-parent = <&tlmm>; interrupts = <92 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "host-wake";