Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4366856rwj; Tue, 20 Dec 2022 09:10:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf6vtzczEPk8BzddjbsjjO7cc1zk/slMu+DSLGjwoDn7OSNv+5FfhfAkHEE0jgdYIHHBFKuh X-Received: by 2002:a05:6a00:a93:b0:56b:6c05:3da6 with SMTP id b19-20020a056a000a9300b0056b6c053da6mr61199592pfl.8.1671556256881; Tue, 20 Dec 2022 09:10:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671556256; cv=none; d=google.com; s=arc-20160816; b=ptSdoXO0O18EWA0namuVWpKAPA07FUzujjTaWOVR1ozS0HKBNxOOrz++nMLi5VCRIq ZgfDE4w6h6RPBH7sJsUMUwp62pVm+UeNPtfXHTa4Hu5KJLTzwuoXjfKtq9RPtsGw63Hz /pk+YGKO1e1yhuhilN6t6Mn5C80lo5Rr6TLDiF6wJi8CL67l5A45dJG6TI9NpJPQ2z7t GB6KnnG+vd4KKzX0fc8Wx21pFAqzAYWTfQ4/1hKuiILOReX0+5+5zMTP2/o5oGKCwnWx N096ll3rxFVMdSFNhUo8RG4rSGWWW3nBzlWEgIuEMkO3rrBMpZhLVgV6CSnAHIuzqdBM uWiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=R/BpPMd44v1k6ngEGCI6UQY0jeFUNFYr1adUuR3PqwY=; b=aP3NNG3ZD10jvs75K5Hv0mqWdIm2TCxuMNiJyr6B8dfvmS1Vyg6rKtRv9/B9qna5L1 E4VJgU43pJrjOUEZPzvDt1iQmoHEyFz+Q3Iv/QLpmF8wf5OVM4TL7+i1b9GwojUKfbCy eKJYvsBf6opgsEz1mCxQ+9+kqDP3YloeafrvYz9hE12UhzfPdJfUcRj0iuzEddCGsela n1MJwYMZK7Geg7bs5oahN4zXYdsWmnFWp9kYUDw+A32sdvtbjm5WNOC7nahC8ymc/JaB YmxjRK+RK1QsaAQ177fn2QiLBW8BBxG43k/Cieiqej6+xLL4E53YyloDIJQt8EoPJ4RA RRpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZrzH7Oe0; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q7-20020a056a00150700b0054307ac90f1si10571382pfu.319.2022.12.20.09.10.47; Tue, 20 Dec 2022 09:10:56 -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=ZrzH7Oe0; 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 S233989AbiLTQU3 (ORCPT + 70 others); Tue, 20 Dec 2022 11:20:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233652AbiLTQUZ (ORCPT ); Tue, 20 Dec 2022 11:20:25 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FAF2186F4; Tue, 20 Dec 2022 08:20:24 -0800 (PST) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BKG5DSI031984; Tue, 20 Dec 2022 16:20:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=R/BpPMd44v1k6ngEGCI6UQY0jeFUNFYr1adUuR3PqwY=; b=ZrzH7Oe0HGqBcv2uRrZ46w6gK3zQlX26C3c2Axt93i6LV4rxIACGlwaDhVL1fOLu+ZFQ mpWaFQ0KvYbyDd8JCndzx80vUDk5kPjX5X0O5aCWW6HRHczobXuhZo0WyMeYt0+zC0KP eQU8aRdqpcolRQM1mvomwz6ACCGlOjT9BvBTqPEedIsKkIVIarU1h2ljA8VnGMKteKlo q8Q4PnWAccekF/DM2xzWiiDMUa5vdETYUeMi4Yzz7aVKyDVV7AwzWLic6f8pc2IbkLLl 9L+s+OTBzGg0oNqa29MnIsXvy/DUClObokdmFVvUFk+2jhLziZvQZM5AYyiVXeBNJ0cY KQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mkcxv8fqm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Dec 2022 16:20:13 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2BKGKDGr025643 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Dec 2022 16:20:13 GMT Received: from [10.216.18.69] (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; Tue, 20 Dec 2022 08:20:09 -0800 Message-ID: Date: Tue, 20 Dec 2022 21:50:06 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH v4 1/2] dt-bindings: arm: qcom: Document the sc7280 CRD Pro boards Content-Language: en-US To: Matthias Kaehlcke CC: , , , , , , , , References: <20221216112918.1243-1-quic_rjendra@quicinc.com> From: Rajendra Nayak In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-GUID: bLLBgro-Hn6fKPwvi5QjtWa2p6PqdU38 X-Proofpoint-ORIG-GUID: bLLBgro-Hn6fKPwvi5QjtWa2p6PqdU38 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-20_06,2022-12-20_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 impostorscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 suspectscore=0 malwarescore=0 spamscore=0 mlxlogscore=977 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2212200135 X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, 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 On 12/20/2022 8:00 PM, Matthias Kaehlcke wrote: > On Tue, Dec 20, 2022 at 10:30:32AM +0530, Rajendra Nayak wrote: >> >> On 12/16/2022 7:49 PM, Matthias Kaehlcke wrote: >>> On Fri, Dec 16, 2022 at 04:59:17PM +0530, Rajendra Nayak wrote: >>>> Add compatibles for the Pro SKU of the sc7280 CRD boards >>>> which come with a Pro variant of the qcard. >>>> The Pro qcard variant has smps9 from pm8350c ganged up with >>>> smps7 and smps8. >>>> >>>> Signed-off-by: Rajendra Nayak >>>> Acked-by: Krzysztof Kozlowski >>>> Reviewed-by: Matthias Kaehlcke >>>> --- >>>> v4 changes: >>>> Added the zoglin-sku1536 compatible along with hoglin-sku1536. >>>> Zoglin is same as the Hoglin variant, with the SPI Flash reduced >>>> from 64MB to 8MB >>>> >>>> Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++ >>>> 1 file changed, 6 insertions(+) >>>> >>>> diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml >>>> index 1b5ac6b02bc5..07771d4c91bd 100644 >>>> --- a/Documentation/devicetree/bindings/arm/qcom.yaml >>>> +++ b/Documentation/devicetree/bindings/arm/qcom.yaml >>>> @@ -558,6 +558,12 @@ properties: >>>> - const: google,hoglin >>>> - const: qcom,sc7280 >>>> + - description: Qualcomm Technologies, Inc. sc7280 CRD Pro platform (newest rev) >>>> + items: >>>> + - const: google,zoglin-sku1536 >>>> + - const: google,hoglin-sku1536 >>> >>> Is there actually such a thing as a 'hoglin-sku1536', i.e. the Pro qcard >>> with 64MB of SPI flash, or do they all have 8MB of flash? >> >> The SPI flash is on the CRD mother-board and not on the qcards, so if you replace >> the qcards on the CRDs with 64MB flash you would need the hoglin-sku1536 to >> boot on those. > > With such a configuration how does the bootloader know it should pass the kernel > the device tree for 'hoglin-sku1536' (pro) and not the non-pro variant? IIUC the > device tree is selected based on pin strappings on the mother-board, not the > qcard. The device tree is selected based on the pin strappings _and_ additional logic to dynamically identify modem/non-modem(wifi) as well as pro/non-pro SKUs which was added in the bootloaders.