From patchwork Tue Dec 6 23:17:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 631378 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1831C352A1 for ; Tue, 6 Dec 2022 23:18:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229479AbiLFXSM (ORCPT ); Tue, 6 Dec 2022 18:18:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbiLFXSK (ORCPT ); Tue, 6 Dec 2022 18:18:10 -0500 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7348327FFD; Tue, 6 Dec 2022 15:18:08 -0800 (PST) Received: by mail-io1-xd29.google.com with SMTP id p6so1729584iod.13; Tue, 06 Dec 2022 15:18:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2S48S/ZvuL1KoDCkjWF/hDiUMwnp9MDUvJrls0zCYxc=; b=hpPyK7ANWm0PWMrGjhOIXtL2QxT2LrGN3F74Zy/m9ldIayBOlDoKksjac3C0sXO24q CxCdGAZG63G2KOjUkOQVhQg2i8YvFrJCD46rJ1pVuRbEyykaqLwpTXPqLRq7rA7k4L3g qkJyI0gbYggicDLLLYoJMP/nOChe9XN7yomTCiAOf9lHMFRtFJkeqaar2EKtci4pYoQG tQ3AMcumCnu8SpyDtPpg2zXNTG8S6k7PH8gbNlwNS5c4+KZssKcQj4t1E5V9kqRSBu4X j2YKm6hgfb808V0VYE81mWdsdJjU+N7V5tlk7ipoxry/hT2l+ytHYmG/tGozU4NH/H9K jG6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2S48S/ZvuL1KoDCkjWF/hDiUMwnp9MDUvJrls0zCYxc=; b=BVpsDImBxDMAeprEgEawU1b6LR8kDqfGWQ8XfAG/Ibk00XcOyLox4jg5wtCR2RWVW+ qlxr12FbShxzO45oaKi3Cataiia7fNYt4I3umJd2wh9i6ajPUYEjA7h4l742Y8xJl+4b TvZWsWRDwcx/ucHZD801WD87QgdV1oKalrg8AK4kIhDLeBLQtTp4V1ryQxiu1fV/QOM2 NTXIb1JzxC9NKlP5fctWhactMVTp7NwbA03HtKeA2nkoe1Ro9iQg3f1vBs5a+YnFcpGa Y2KHlvwAVeqT2klvQLqiECQ9y4DGGx0xNk4khgRj4WPt5mBEUABwMnOHwleYrvPLUiDi IXYw== X-Gm-Message-State: ANoB5pkkHHa8HFEieYB2SzGCH76WXSo3/xilYSJIce7q9RcBfzKQnlR6 qoNifCnHyv90qt6kbSokaDU= X-Google-Smtp-Source: AA0mqf590evn9EVI+BG0q6lMLy/zYK0ACd1BTRHQ6879JK/WqoIKXxKr+m1TGgE6e3VLYCMjkqpfag== X-Received: by 2002:a6b:d117:0:b0:6a3:a0cf:ea32 with SMTP id l23-20020a6bd117000000b006a3a0cfea32mr33878087iob.155.1670368687823; Tue, 06 Dec 2022 15:18:07 -0800 (PST) Received: from localhost ([2607:fea8:a2df:3d00::32c2]) by smtp.gmail.com with ESMTPSA id n10-20020a02a18a000000b0036332a07adcsm7017098jah.173.2022.12.06.15.18.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 15:18:07 -0800 (PST) From: Richard Acayan To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: Richard Acayan Subject: [PATCH 2/3] arm64: dts: qcom: sdm670: add qfprom node Date: Tue, 6 Dec 2022 18:17:30 -0500 Message-Id: <20221206231729.164453-2-mailingradian@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221206231729.164453-1-mailingradian@gmail.com> References: <20221206231729.164453-1-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Some hardware quirks and capabilities can be determined by reading the fuse-programmable read-only memory. Add the QFPROM node so consumers know if they need to do anything extra to support the hardware. Signed-off-by: Richard Acayan Reviewed-by: Konrad Dybcio Reviewed-by: Bjorn Andersson --- Changes since v1: - offset address by 0x4000 and zero-pad regs arch/arm64/boot/dts/qcom/sdm670.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi index f93705bc549f..c78156e03d93 100644 --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi @@ -731,6 +731,13 @@ gcc: clock-controller@100000 { #power-domain-cells = <1>; }; + qfprom: qfprom@784000 { + compatible = "qcom,sdm670-qfprom", "qcom,qfprom"; + reg = <0 0x00784000 0 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + }; + sdhc_1: mmc@7c4000 { compatible = "qcom,sdm670-sdhci", "qcom,sdhci-msm-v5"; reg = <0 0x007c4000 0 0x1000>,