From patchwork Fri Dec 23 07:33:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Youghandhar Chintala X-Patchwork-Id: 36152 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp190065wrn; Thu, 22 Dec 2022 23:42:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXsYHgPX2obexgHPLdC93NLpHeQgRSOMffYKVt7I87wjhAFVK2sSb5BGbfoc+8CWr/tHQDkL X-Received: by 2002:a05:6402:1490:b0:480:190:5d90 with SMTP id e16-20020a056402149000b0048001905d90mr2683618edv.14.1671781332283; Thu, 22 Dec 2022 23:42:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671781332; cv=none; d=google.com; s=arc-20160816; b=IyAsTqRrEjxizhJUtrfYKYpuhxAYOG/UhdjFpGEvXQLyjhmS/hG20YjyaXx44vep8O yCZmJKnwc2kf+uESm5JjUoH/Osz9cj2v5u/P6bw8fddzRmPtEEU2vSjdqNi+rzJxwQd1 Ur1qEf50Oe6jG16SxM3G0VpjYAUClfwTaK1lPev4oQJI8pd5iGE6E7qoGFTOmJjRKrl/ UnkHzgVmWSDCsTiSJeOQw2yp8136aadNLzyOTU+jcvmTFktOjtJZHhAkYE1Z1ZTXqfd+ tncYZ7tDNQxYkzNGQuOaIlzYAiNbgByYpiO9SguchrKUZBg615l6KCEAgUATuS8T0qIr fAbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=U4eZB36qW05d1rIds4PBq70CCXyE6zlxu1m79zPhVo4=; b=g92bAfToQ/oTXTmroQXgvVwKYNI9OJmRFiHNFvu6Yzach7tUTd8JxQZWQexGLdO7Xo 8qqsHGI+dbj81ryrBUS1txYEQ14ArTbAvqohfrnEfLp9xxeLjqd5+M22A5HRRFNqRqvt wFyI89PE1FGhFtTnD8EICMakgqw77Kcrk8mSdE2d2njmoFXtXaT0yn1Kzz4oCsdc+paw fE4UnI67yleDICj3Wjwdi2eOjQoV2rKaA2rpuMEp5gVwNY4DgEKK6+EAogjhZuodTD7S ovpf5PI5mKtXJaiD6pkUrF6Qwb3rXuEk0wLBVzmoqiL/5dk6txpKZ9aBTe51bfrUL+VG nnDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=R9L0LmXJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eb7-20020a0564020d0700b0047f901e5051si2666230edb.364.2022.12.22.23.41.47; Thu, 22 Dec 2022 23:42:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=R9L0LmXJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235181AbiLWHe3 (ORCPT + 99 others); Fri, 23 Dec 2022 02:34:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbiLWHeZ (ORCPT ); Fri, 23 Dec 2022 02:34:25 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8588316488; Thu, 22 Dec 2022 23:34:24 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BN5NcG5025206; Fri, 23 Dec 2022 07:34:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=U4eZB36qW05d1rIds4PBq70CCXyE6zlxu1m79zPhVo4=; b=R9L0LmXJ/km1WcUTKFTq/sTi8QC94Xh/sLYHqqiqnXvvw7o+4NEDvrMiDOgPLkHqp8ht pLAOXNxReTAsTl0SAnyg6IH7zSE+XKd3IZqh+5ud2z8a8k7pJ7MVtC/uH1VTGpXX1KNO dUH2qpoxrSHVUqGMsNHOcs4qjbM+ojxKQFz8lzoiJsYEEP6lJmK+99EE9+wLlSsTsv+d DXA5HYnEFNIuhw/gRiZiKD7yTbCXF07x2rdG2Nyz29r31gA17MXl4nb1Y0aBSxVhZ+IX WJ+GI+merdz8hOICxa7uRDaMrk06UVuj/HOuvV7rvPyeJidYQgTi+L2p8GSGxbYvbMm8 0Q== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mm2brvm2b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Dec 2022 07:34:17 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2BN7YGfA017271 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Dec 2022 07:34:16 GMT Received: from youghand-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 22 Dec 2022 23:34:12 -0800 From: Youghandhar Chintala To: , , , , CC: , , , , "Youghandhar Chintala" Subject: [PATCH v2] arm64: dts: qcom: sc7280: Add wifi alias for SC7280-idp Date: Fri, 23 Dec 2022 13:03:53 +0530 Message-ID: <20221223073353.20612-1-quic_youghand@quicinc.com> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: UVBOUgLjFo7fZsVpsedK-VHJn178dYKc X-Proofpoint-GUID: UVBOUgLjFo7fZsVpsedK-VHJn178dYKc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-23_02,2022-12-22_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=838 adultscore=0 priorityscore=1501 clxscore=1011 mlxscore=0 lowpriorityscore=0 malwarescore=0 spamscore=0 suspectscore=0 phishscore=0 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2212230064 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752989782345435897?= X-GMAIL-MSGID: =?utf-8?q?1752989782345435897?= Currently, the boot loader code used in the SC7280 SoC accesses the WiFi node using node names (wifi@). Since the bootloader is a common code that is used in SoCs having different WiFi chipsets, it is better if the bootloader code accesses the WiFi node using a WiFi alias. The advantage of this method is that the boot loader code need not be changed for every new WiFi chip. Therefore, add wifi alias entry for SC7280-idp device tree Signed-off-by: Youghandhar Chintala --- V2: -Added purpose of this in the commit message --- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi index cd432a2856a7..c4f88d7b3758 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -18,6 +18,7 @@ / { aliases { bluetooth0 = &bluetooth; serial1 = &uart7; + wifi0 = &wifi; }; max98360a: audio-codec-0 {