From patchwork Tue Feb 13 10:58:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Zhang X-Patchwork-Id: 200369 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp458771dyb; Tue, 13 Feb 2024 03:03:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IEpwUtyztLtrx1P4Lb6s2IAGe1hO3khaGA8dPOKFsJ2xWnzVucuwNFzqGY62Kg3sx5eLGqU X-Received: by 2002:a05:6512:20c7:b0:511:936d:59d6 with SMTP id u7-20020a05651220c700b00511936d59d6mr2521419lfr.26.1707822180933; Tue, 13 Feb 2024 03:03:00 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1707822180; cv=pass; d=google.com; s=arc-20160816; b=G+AqLfwiOlxY7Yx/PwsvU8Myupd8e50YSgSGjozvD/l9JItwH42Thby7G7+6J/RZzn GZAnjUTo0z7XKEBhCwBUUm1tA4MXL+YpT5oUw/vCz/pjvt3SNQBxvLM7yb7Mvjsggaba kz34pb1bJG+CX/5tmw715DTIu6QytiMgRr/ChEenaZy3bef2zKuqN7IREI55ZiF8LYGX 6TGGbX8Q2xqpj+FhC8qDBfnxMe3KdgDKRHc+hvZQy73iM+EPg7RbPo/4fFU7TACjXRVJ zjYhKARk6ekvu5Mn30qrKzaJ+Gv+I7ouY6WIbFBnyt6HSh4ME+iQjZ/x/+Ob9B0/CmPR wdow== 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=cFlTMj+cMhn+zhZXZSLtva3MSeD6K4A2uXQrR5nRUn8=; b=e2K2COKILIB2y7fMntR6zr3cGKEC1VptM1+ZMGmJViilmHx+7Ln8oJ0o2XYo6zHBrL KGFBpScsa8aNUJLWJRm9b/E6GJec0S//aoQlM38ivl64cQo+wfo1KKu7VgMKsmHWv4iN Mmi33rIJyGqzzdQ3oNsap7hDoc2jhZWnjMeFtlrBca78UhA/ss/tDa0ip9VM8a98OrMf E7v56fcuJRG0Dmnognh9PzDVneSfhb/TA+huuG+BiyxAgIbAAuyVKC3XTActrCIZXP/Y 9W3PistfOscSYrBZ1xJi4hyYgJ5eLv3uN7txM3AyzmS740Drvas39yYsFeY7O4nDEqXL HDqw==; dara=google.com ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@rong.moe header.s=zmail header.b="sLUY8/ud"; arc=pass (i=2 spf=pass spfdomain=rong.moe dkim=pass dkdomain=rong.moe); spf=pass (google.com: domain of linux-kernel+bounces-63391-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63391-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=3; AJvYcCVJwN0U89ydo5FkHQttiH/ZjYnZrp/tYr5F8D2nlwntK8BKFkcOhhrKibgOlBF1LwDG5mBdZqhJQtiGuHFMebaA5HJh8A== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j4-20020a170906830400b00a3ce2cdbab1si957276ejx.305.2024.02.13.03.03.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:03:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63391-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="sLUY8/ud"; arc=pass (i=2 spf=pass spfdomain=rong.moe dkim=pass dkdomain=rong.moe); spf=pass (google.com: domain of linux-kernel+bounces-63391-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63391-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 EA8911F271E5 for ; Tue, 13 Feb 2024 11:02:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D9C80381B4; Tue, 13 Feb 2024 11:02:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rong.moe header.i=i@rong.moe header.b="sLUY8/ud" 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 B009A36AFD; Tue, 13 Feb 2024 11:02:06 +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=1707822128; cv=pass; b=JQ4PbzjCZ6LA2Sp6uRqe8rLenQsBnIp6lwik6rl5EC9nZXEJs3g91xFtq9bivPZoL2X0Pn5XkotgWpk3Lk24CmtJKNFRjIuxGuR5Z/5y9YbtI7IifLjxDUewKlkmpIKo4j/MAuQWCdWQHe6X3GSJ6VXzIk6YcKrzw43gXGfPvHw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707822128; c=relaxed/simple; bh=8snw/S9bFuqeaPU/SR/M26e9RHX4wd3kkLrnrLkpZ/E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tQwjLUA4S9G+9Mogd6s97HR7IMwsMXJs0L77bkoKWQjZrGLSq7Z0Wp0xiK3nUiDdEIuNuX82cxh7xFRH5gsK6iHjxn+1ZyW1wygX7lRzzcceOf3CXXyfIeTJ4gduQ2KihKQXtnTmzJBh8RU2W95TZNwhpeLZsE7sfGKBYSVuzP8= 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=sLUY8/ud; 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=1707822120; cv=none; d=zohomail.com; s=zohoarc; b=YZMpTHWMBBTIfEzXCAeNiiMxDTqoknzKi0U3h5MPF18l2j6E/8TVi7e2Bdv/Y42Cphg96JggwYGUXs1I7HFnMA9OnVxoS0++SsxNi4ej3MhKJwQkOdA73c3PL3ePTnaLPSaCN4SryA7hpx6+Wq5/eGqfaMFAmytRNEXyzOeeUJQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1707822120; 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=D+MV36OxvD/QRrYuXEcdG3FaFamRXV26CrEIRdPYWvUi+IOfbKYqUaHnxib1ChDUE/x4EWoaLfYNRBv5O2LYqIP/1wB224JbSoQ05bDBqYAsFXula4jvsSwga18uGxRQdKofphOfEVPX3OjAPKnJNhiCfEzxIOw3ER/N6+eSEa8= 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=1707822120; 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=sLUY8/udeY1f4P3pmePAoRWwsLnaP7z9+i444E0gcTEktohb9bl4iIZl2DOa1D0D 9nx6vmJjvHxzS9unL/6Pm3llpr6GzVtZdawVPt7SgZ9hTYqA76zo5//u2J0hesJLq9Q LK/d91moDdOOkfW/GNuncJEeHYIAxy3vncBt++/A= Received: from localhost.localdomain (163.142.242.182 [163.142.242.182]) by mx.zohomail.com with SMTPS id 1707822119295716.8504126918681; Tue, 13 Feb 2024 03:01:59 -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 2/4] ARM: dts: qcom: msm8974-klte-common: Pin WiFi board type Date: Tue, 13 Feb 2024 18:58:37 +0800 Message-ID: <20240213110137.122737-3-i@rong.moe> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213110137.122737-1-i@rong.moe> References: <20240213110137.122737-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: 1790781351494787139 X-GMAIL-MSGID: 1790781351494787139 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 Acked-by: Konrad Dybcio --- .../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";