From patchwork Wed Jun 14 11:35:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 107909 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1176195vqr; Wed, 14 Jun 2023 04:40:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6qrKU3enqbvaueXNdKulDBbzKKlgtSVAUT30GUDG21YPFt0zoWBot7jpVl1z6gp5R88n2G X-Received: by 2002:a17:907:1c93:b0:97d:f8aa:6d37 with SMTP id nb19-20020a1709071c9300b0097df8aa6d37mr15912544ejc.61.1686742809806; Wed, 14 Jun 2023 04:40:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686742809; cv=none; d=google.com; s=arc-20160816; b=n4coM+M1N5YJeWK76BTQUNFsS6RQUE/nJrQ6UwCcudgzF91Q+hqWDH6/6jHv/wHozV OrQ3hVkVCFgRnFjT2gTevfoNsxsq40YZsz+bw6AkcPDlp1FjFhUx8Txffbi1uNrF8FJt 93NlsmyymjLwopplHZ68+0F5rus98LI58euAmmMKusBlDOJvnV6hOjhHdD5DgVWNEJ7j xBNIPsLD/jV5Am8dvhJVVEsGtiT587T+C7+4OM0nnVbw5t6yDoz37A720GmMUwagNOvA ABYC7D4PNQEYJyVZMYfZWTWSLs8f/RmERlj86+92cY5cIdf5Fw7chFfaS2bCCp5gcLla COTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=BT0FhlQTqZJwPJ3Zh5frLeDreQMYYDJ2nQ7BrmaR2ho=; b=BAMDU5d6l0mHAAwZNKQ0ZmA8jWt7AeO/cVHeq6V8Oieq+nhS+wIWU/33BPWv96zEE4 xj4CkdY5lURw5BadnfxQtbOuNG/dEdjzHYc79QEUybePxvn2BnhdSePSfdz/In8/VCIJ kG/CrV+qShU0CQlgdvqjDhXhLo54nmzLnGfIF0v6dCSyzb2bKYZJLee1whAcAM1DjAyd IVrilreWEhB+bhc5KGZQo+t8GPzPmh44rTB++f8fbca0u+jzdL+KFE0wUCY7dgqD04oj 2cU/jyeRQqh4Hi0Catl96QYjDtd9lFtctAixYdtmiECBR6+gySrqWe/Y53Ewt+kL2KNG lW+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YEDYdRbk; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qq22-20020a17090720d600b0096176dedf7bsi8056478ejb.436.2023.06.14.04.39.24; Wed, 14 Jun 2023 04:40:09 -0700 (PDT) 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=@linaro.org header.s=google header.b=YEDYdRbk; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244178AbjFNLgN (ORCPT + 99 others); Wed, 14 Jun 2023 07:36:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244082AbjFNLf5 (ORCPT ); Wed, 14 Jun 2023 07:35:57 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC5E71BF7 for ; Wed, 14 Jun 2023 04:35:56 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4f6370ddd27so8404104e87.0 for ; Wed, 14 Jun 2023 04:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686742555; x=1689334555; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=BT0FhlQTqZJwPJ3Zh5frLeDreQMYYDJ2nQ7BrmaR2ho=; b=YEDYdRbkwtTcCZpnfO3XSRU5W8zNnW9TGdiUJIewFY6rzAh9+ldajb/ReUCuiVqvgu Co2qOHiv+8hSJ4be6PuIo4zh6iE5g+u6w66GUdOyaeTamMB+uaKZiOVSfN/HFH6B4Rht yoDKyE7W7mYYnpNSPWkRSokjT/7VqBUxxJoEUN8h9t/SMu277sLP5MzdEZnNmvwOr2em zrt/O8RaX2vCiUruKiV74yzcHsYok1wJ2fpTsB/xiL+pOSH996r1YHQI7E8A/s+XHTjb 9phkL2s5Um4Z8wtijDyWaX8pszunlfjOCAzeJVJmh6WY+ICpALWrR8EJsPPoOYNNc2zz qffA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686742555; x=1689334555; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BT0FhlQTqZJwPJ3Zh5frLeDreQMYYDJ2nQ7BrmaR2ho=; b=WVxT55E+EAiQLxvXfzyHvYs1rfuZJdps+tlbTtf/4OnNTMUzXQXxSDf5a8m6FnvxuJ Ve8fZ8y2kvUlX6qJoK7IDaYKkfhy+eSUeKjcRMEhKUwMcI3nWxQR8VBjgh1khtBex+0p CAxuaYA2o3eVMTpV9YLaFqvS0PwykNp+VV98ykFwJWmb7dnV1zOyuTcWIlYfOO/2d6bu dG8o8DSBIrEX1DJBF9ocQLaMmDcHHR8twW1Ya7B3FxQp3pncA7+PXYt6dK2wFzt2t/5A EH4jQmnKUl9GQLJT0vnvd1p8MmUq3e/rBLcDBbYkrB2VKiaGi2hwGebLs+T2pUslS+aA OMCQ== X-Gm-Message-State: AC+VfDwptWKzkq2zIZgD2drLJpiX2nWGfptfgw2cBUrCx/uGb5zJnZ6F tp7iuG6gW/nfjhsQ3hRcOkKq2g== X-Received: by 2002:ac2:5f9b:0:b0:4ed:d2cf:857b with SMTP id r27-20020ac25f9b000000b004edd2cf857bmr7373622lfe.5.1686742554922; Wed, 14 Jun 2023 04:35:54 -0700 (PDT) Received: from [192.168.1.101] (abyj190.neoplus.adsl.tpnet.pl. [83.9.29.190]) by smtp.gmail.com with ESMTPSA id x1-20020ac25dc1000000b004f64b8eee61sm2088406lfq.97.2023.06.14.04.35.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 04:35:54 -0700 (PDT) From: Konrad Dybcio Date: Wed, 14 Jun 2023 13:35:35 +0200 Subject: [PATCH v2 4/7] arm64: dts: qcom: sm6350: Add QFPROM node MIME-Version: 1.0 Message-Id: <20230315-topic-lagoon_gpu-v2-4-afcdfb18bb13@linaro.org> References: <20230315-topic-lagoon_gpu-v2-0-afcdfb18bb13@linaro.org> In-Reply-To: <20230315-topic-lagoon_gpu-v2-0-afcdfb18bb13@linaro.org> To: Bjorn Andersson , Andy Gross , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , AngeloGioacchino Del Regno , Conor Dooley Cc: Marijn Suijten , Rob Herring , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Konrad Dybcio , Luca Weiss X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1686742545; l=1015; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=TggODcqRcO65aCiU+0R8QACbCdlm3fHtH5g6iGTdYXg=; b=eik+ywxR3TJ0062wxnoAh1itVOjRVx4cRNY4gXrs+/1XC65DLXtb0Ai5VgZ+8NbsHdhKiX2fv efNQbzK5jJtDtCRmhKZ7FbMXdmy4/CU6bsEIIyIZbL4xOvpJmUac82E X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1768678028524884448?= X-GMAIL-MSGID: =?utf-8?q?1768678028524884448?= From: Konrad Dybcio Add a node for the QFPROM NVMEM hw and define the GPU fuse. Signed-off-by: Konrad Dybcio Reviewed-by: Luca Weiss Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index fd35810bcfb5..c0f34bc1d78c 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -805,6 +805,18 @@ ipcc: mailbox@408000 { #mbox-cells = <2>; }; + qfprom: qfprom@784000 { + compatible = "qcom,sm6350-qfprom", "qcom,qfprom"; + reg = <0 0x00784000 0 0x3000>; + #address-cells = <1>; + #size-cells = <1>; + + gpu_speed_bin: gpu-speed-bin@2015 { + reg = <0x2015 0x1>; + bits = <0 8>; + }; + }; + rng: rng@793000 { compatible = "qcom,prng-ee"; reg = <0 0x00793000 0 0x1000>;