Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4367903rwj; Tue, 20 Dec 2022 09:11:35 -0800 (PST) X-Google-Smtp-Source: AMrXdXsqb9YXBi43sJUGdcHuvqiM+uqfzvlId1aHo/4ePREOZmzeMMwI01H3kVZA48va6neMeeDs X-Received: by 2002:a17:90b:709:b0:223:da0a:df35 with SMTP id s9-20020a17090b070900b00223da0adf35mr6195046pjz.17.1671556295766; Tue, 20 Dec 2022 09:11:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671556295; cv=none; d=google.com; s=arc-20160816; b=vUYnuZFkdsbT7vSv0O3usNOZPYqFpi5YmjXjKt57LLJp/nJy0PlziKcc+zUhCCggk2 4Rgna22GttP34Xp/21N1ss3W0mH4FXuyyZQUGD+1PJgLNd+bC2zZVYnwr7LqBh7dW3Lo JcQXFhg90jScW8+PxFmEmSq6Yos8zpQNSt6CNNQ+6d2ZYPQ5jKiusRwglR9nbqptJDTk AQkyY8p93CRjPSf1Za3xi0VM15D6kS5O2RpjyyFjhi3Mz/Tfxtw1FnJ/DHqkyKEauZRz Oxb7Vx6hKzHkgDwkU5SXoJa4/xg11/IIXC1X9fyKzreAxUE7AYzXFq6osFbXOTc0D4a6 Ft8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MzKjhIOcV3ufxuDLmopx8r1raKV1Jl95YCQiSdWpZbc=; b=fJQV6Ju/lRjZdr6Qiviu+lyb/rRws7hJYB3Pi1cafcMyFbhCLY0j3U6Fved3IfDgxC GmWTiuDmcTh0VMv07uUpLpEW2DBlPBRkw0b7NDfzNgiLCiLgMtgBA0inZ5RfBNsL67S7 R/6vxh8jAQkiPl/jrqTdtcp01BaHRxuZzplgjA3hQwKLVZttsdDuBJNV2fmxPhIT/i2D fHDusX0jLEeOBDrsTXQEvIHezUjJ3584UIxatlxIuUjxvyxokdMLTfBvZPj7/6Z/Modn 75peMookruAfLIKRzNAm/Cp65ENj9fxeLJCJ1MtbHU+qLz2K2hOKm2nOKBJYg3uDwVDi nLWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=OTPop1jK; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hk11-20020a17090b224b00b002130053cad7si23238027pjb.7.2022.12.20.09.11.26; Tue, 20 Dec 2022 09:11:35 -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=@chromium.org header.s=google header.b=OTPop1jK; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233659AbiLTQrW (ORCPT + 70 others); Tue, 20 Dec 2022 11:47:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230132AbiLTQrR (ORCPT ); Tue, 20 Dec 2022 11:47:17 -0500 Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52395B7EF for ; Tue, 20 Dec 2022 08:47:16 -0800 (PST) Received: by mail-il1-x12e.google.com with SMTP id y3so6604359ilq.0 for ; Tue, 20 Dec 2022 08:47:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=MzKjhIOcV3ufxuDLmopx8r1raKV1Jl95YCQiSdWpZbc=; b=OTPop1jK2DAWeLs3Pd/DzxNTqn00Xlk3u4FE/DwX8cY4wgtF7LIIzrZV4RUQ4hsW7J hQQeTBILxQ1ijAQ0n4d8rR+U3zoQZksVgYHUQ8hhcgNjxqJY9GOBvjBionSfbbauh+AD jGqDLWZDzs+A8gSVUX7x7HYWzGLZrqzg04Zyk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=MzKjhIOcV3ufxuDLmopx8r1raKV1Jl95YCQiSdWpZbc=; b=3Y9ymW1lEFeHTYBhgDUHvX2dORXxJ/UZHQinLbTL6B5sYVsaKvCk9S+TiKD68NE4UP fuEsxGINTBHz1rbR3WRmAwGjOJn/dBMYQ0YuVIGOAVgWc5achmidFuwLeCD9uth1oI2O o+YEWkCnxHlnzkZoVJ6cloPVBJUhzRkXTBD9Y7qvuFCpxT0iHdt5U84O9V6mzr7oK04X FkM6mmm5N8Ry3WLTmWviHmRHVXlJjYmITAdusSr2MWT1M9wFc3c/g4iib+LN1LClU9Qz zeg5A4nIeDsySisoQ17x5ocQ9hzWYlfGnlXI3cUlz/O1PQP6p8hNwWcsN51sS/lRX5Yb DNGQ== X-Gm-Message-State: AFqh2koFS/ZTI9wMJYjpvSo7RofIYrsRUZsjlOzTmF8iVaz6RpgYtxlT pYrRKoxvNUjfahRalXvRWjPhYw== X-Received: by 2002:a05:6e02:de7:b0:308:29b7:4484 with SMTP id m7-20020a056e020de700b0030829b74484mr9726349ilj.23.1671554835712; Tue, 20 Dec 2022 08:47:15 -0800 (PST) Received: from localhost (30.23.70.34.bc.googleusercontent.com. [34.70.23.30]) by smtp.gmail.com with UTF8SMTPSA id y18-20020a027312000000b0039d71c4659dsm253124jab.20.2022.12.20.08.47.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Dec 2022 08:47:15 -0800 (PST) Date: Tue, 20 Dec 2022 16:47:14 +0000 From: Matthias Kaehlcke To: Rajendra Nayak Cc: agross@kernel.org, andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dianders@chromium.org Subject: Re: [PATCH v4 1/2] dt-bindings: arm: qcom: Document the sc7280 CRD Pro boards Message-ID: References: <20221216112918.1243-1-quic_rjendra@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 Tue, Dec 20, 2022 at 09:50:06PM +0530, Rajendra Nayak wrote: > > > 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. Thanks for the clarification!