From patchwork Sat Jan 21 11:23:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 46814 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp679757wrn; Sat, 21 Jan 2023 03:30:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXu8wdGnacholDA7gRORftII1P2GR37eNj5CfY7U1/sbkT67GO4moe3vGFpA8QtV0i314Rf0 X-Received: by 2002:a17:90a:c58b:b0:229:4614:9cca with SMTP id l11-20020a17090ac58b00b0022946149ccamr19176950pjt.38.1674300613597; Sat, 21 Jan 2023 03:30:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674300613; cv=none; d=google.com; s=arc-20160816; b=l99rnN6m7cungRq6ml8Oq6rkLbFzTIXFX+r+gvC9ZFOqR3mNy682aSWxHki6rVdQYG lMirMccSrBVt3q/TMGWP0DqdIrFJVC85ZrxbP08WEPpJ5WMfrGMWiS+Ovte+xYXjF+zD Lu5FE1dr4O4a9Lop/pi9fXYMZToAKVlsLLDUkUBJSn5AXDyea25MiNYOH0ctyMmkSojL z2X4JIUvAeB+7oVZYnzfZfoVb76OfEX1lTXWS+fIi4sYppMr4HMu8V0zWzYU7K1KCkoB bEYZ1T5so47c2KBsr8s+8vBlxjG4Ffcq4BrIIApYFw81aEQEjPmllV89cdOZf8Y/yQZQ EadQ== 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=RKJUg2/VuVaRDNmWxbhDG78UOqpMzcjPsE81MatemVY=; b=ycngWSchTKtoaqLmX746295B1p6AJ4mR1tFU5o4TmpwKXDhiggHwRwPnmSwwHxAZOv izjpzMrKd0SB6F//7IG08DSvqqTIC82oWCm9ilQu6YU/5YwVqY+Uce6dc3W0evcbCW0m 9GuygJ2SFYDVaIFT7wYIqFcDxgGDcmIuxPWczmjf6mfOs8PgYpuivjCFHv8iExhGm/Xi H6/GJaekcug0iTq9jEL3ngpxfkjdKDn7/AL7yjWj94wwXkOBG/St8UMVPWhlgv38BrHP JcGPtwvhIpGPGLciE315Bm7XwmYohw+yHKFe9UP02C0ylbuxIfiH97vn3yHbD7t1fTWY bcNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hLuurZpQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x9-20020a17090a970900b00229caa6f3cesi5487785pjo.21.2023.01.21.03.30.00; Sat, 21 Jan 2023 03:30:13 -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=@gmail.com header.s=20210112 header.b=hLuurZpQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229825AbjAULYO (ORCPT + 99 others); Sat, 21 Jan 2023 06:24:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229544AbjAULYH (ORCPT ); Sat, 21 Jan 2023 06:24:07 -0500 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8B7F1A978; Sat, 21 Jan 2023 03:24:03 -0800 (PST) Received: by mail-ed1-x531.google.com with SMTP id z11so9556207ede.1; Sat, 21 Jan 2023 03:24:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RKJUg2/VuVaRDNmWxbhDG78UOqpMzcjPsE81MatemVY=; b=hLuurZpQAzMNhhxxtWYP5opWmKzAHQ+BNF3HA1f+KqlnBpS2y0v9dg6MetfkqzcBxs rr9uKrN6qY4JDVESqfbQmOhKsreO2P/pwmgQOYrxLaBSSs1KfVGX5QJAJEJuqjGUGEkp znkzgPBL4fktfDEFatax7h0rtDMBiHgJlPLoBH3qUfKsOB3W8NFVWrXSucbQSONY7AID ZBXFA/tbIY7IGu+AxoYHt/r2UO8ZAxsRK+bkLpECFif3asBe/YOQ2gV4YMkFP/cIPSGC I8h5qV7EvogXyR1gVSjihDkPUc1xH5hwPKU5t/Dt4IY/4dya1ABUkRHV3iayYbQXYWpX KrRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RKJUg2/VuVaRDNmWxbhDG78UOqpMzcjPsE81MatemVY=; b=LulhXJVcMsvUw6vavFcYyNK7Bak4wXa9a1itdWyQehncfRlioYvxq/3uU3z2ROhpLn yljnoSAjnxUIoCgiRGIXn84oPpQO4bSuFdTOs9v9l8Ute03zKnMe1wyflcBf3FXrS8Pl ga8I3U7Qb6TMBNtHy0nAeu+QpC5sA6jSpKRx7WHWXbdvc3MmU07SCWV+jR+6yaTjYI60 CMIfc0ChjSAGPb+8JDcX8eJQgniNRO+6sai/dPLY4BtNUvGEEwGQ3SEH7r9yZIMU+o1D fHKvySbBbURkcYFrjAS7ynC3xA4arYPAaSSQnbmLGeDnakC85+u7vElNGnvugW492wAl TBEQ== X-Gm-Message-State: AFqh2krQtrz8JATOmStK9e2+MQfQuev6Es5uEkpkEbR/vX7XQt5j0OrL OiKJcdeB2ohDb4BjLfrfGiU= X-Received: by 2002:aa7:dc03:0:b0:49e:1d4f:a9f0 with SMTP id b3-20020aa7dc03000000b0049e1d4fa9f0mr18291487edu.42.1674300242356; Sat, 21 Jan 2023 03:24:02 -0800 (PST) Received: from fedora.. ([188.252.220.152]) by smtp.googlemail.com with ESMTPSA id 21-20020a170906319500b0086faa5b06d4sm9236365ejy.181.2023.01.21.03.24.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Jan 2023 03:24:01 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, srinivas.kandagatla@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH 1/2] dt-bindings: nvmem: qfprom: add IPQ8074 compatible Date: Sat, 21 Jan 2023 12:23:57 +0100 Message-Id: <20230121112358.52216-1-robimarko@gmail.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755631439800526225?= X-GMAIL-MSGID: =?utf-8?q?1755631439800526225?= Document IPQ8074 compatible for QFPROM, its compatible with the generic QFPROM fallback. Signed-off-by: Robert Marko Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml index 9ddf3cef9e84..2173fe82317d 100644 --- a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml +++ b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml @@ -19,6 +19,7 @@ properties: - qcom,apq8064-qfprom - qcom,apq8084-qfprom - qcom,ipq8064-qfprom + - qcom,ipq8074-qfprom - qcom,msm8916-qfprom - qcom,msm8974-qfprom - qcom,msm8976-qfprom From patchwork Sat Jan 21 11:23:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 46816 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp679966wrn; Sat, 21 Jan 2023 03:30:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXusQGJb6skUk9lkZ3tFblLbexGcdJPRCGV7oErjzSuxTYAzGxmfExYAhUyB++7PQ5qYnPKZ X-Received: by 2002:a05:6a00:2194:b0:58a:fa8d:ecce with SMTP id h20-20020a056a00219400b0058afa8deccemr21638968pfi.29.1674300646769; Sat, 21 Jan 2023 03:30:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674300646; cv=none; d=google.com; s=arc-20160816; b=XCFexChcILPX5kgNZfWikuwXjf8P9TsaCY1gMUvql7oxw+TuE2w8Sy3gZcyoxa+v4s YPcf4vEa+UnmuMLdgO+b07v6LesFHozV7yjnq+Ddud5ZtqoBq/z4NQ/dAEeWuE54UihS +2Eaim/fvXa2plYtKJIcA6DCWdi4liMbKeBEcpnCDI8eez7XW49uzgoMXClz0KLsG7jr AwNqH51jQDTzXsHc698Puj57eecW8sTvbfLxOiOZhmvTgzvgd3nKtiUZnkL9qM5v/qD7 MSnl7jIUx9SiR4CPsgs/pWhFwJTgTb/IGsHEQpqByH3k7ojDffKIV446d8xmCSOUll7+ 3N0w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HhM5qJGPxBSYXZ+6kwCdfI+MuMuQZtYYh38bbR24IOU=; b=VI/PoiQljybi+OJ5FLLmuiHnKyu8iU73oW/1WJAMu2twCObVVLqpl7PSn4xE/fDBHp lXQlDf1bqvWOlEzh99NriIw/BLwMvJyFKmCYqD2zudxpGgke1yHNGdlFufUQ9BiK0ege dNzz0Ql5M+S4v5XObyTpRm7xxWaYqfZWsoT3YPpFSRnS+Mx+XBdePVqPOyvtEtXuN2TM Id1+vWoVeSymPOuPyHlQApB31pFZSAbSUbsR0Dy0uVlm/oLFYZOACd7A/IGzdYjWIbPl kM/sRsBzuxTfMx2ZVCdqOYABfxrAnIzUVgQdzTe0oKcR7MeM6hxXbVuj7id5zVFHuC/7 awhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Gp587WKz; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g7-20020a056a0023c700b0058150179c5bsi18049389pfc.26.2023.01.21.03.30.34; Sat, 21 Jan 2023 03:30:46 -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=@gmail.com header.s=20210112 header.b=Gp587WKz; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229553AbjAULYL (ORCPT + 99 others); Sat, 21 Jan 2023 06:24:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjAULYH (ORCPT ); Sat, 21 Jan 2023 06:24:07 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13BB91ABDB; Sat, 21 Jan 2023 03:24:05 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id az20so19950973ejc.1; Sat, 21 Jan 2023 03:24:05 -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=HhM5qJGPxBSYXZ+6kwCdfI+MuMuQZtYYh38bbR24IOU=; b=Gp587WKzuBhzbJhcj2m7SGcQd430qD8dtMKAnx6sj6O0QsE49WPZ1CPsvrGhDEqN21 qZXip/tEt+qMo970kUUQvXWWB3wjqXqdeQgawc7EjAes44cIbsCLGYzj3ra2k2sS5rfd O92kJd2s2nwdDUUPHfYKP+f/3WEuaKXaFA7TRQ5G3UBZvYrKxZ+pttGoSCe5hE2LJtyA Vuuf/f40XSE2OqBh9cXCmO4ECeONQlHvPPkeGnJHqecelzlyX6hfOjhSZir4frM+9qD6 FaHNJ4W5LITdhuoo+CFuKFQ3RGri0eMxQb7YhUFmC1t8myqzwX00tRugt0xglht/g7Q0 I1sg== 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=HhM5qJGPxBSYXZ+6kwCdfI+MuMuQZtYYh38bbR24IOU=; b=7EQxvRaOSuE5YUb7AdIC5rahMG6CVmyvFhIMWLy0XT7jdKoohgL5pKSPtyXcYauKwP A5jVUF7fNiyzzKqQuCaN90ifM+SFfu4BS192mpwlHs49BIKYyrr2rKOaFjk1p/TBfO6/ okE9WwgcuUgLNpB1EPr0OjgkzMGTMTJE7u8OqZCGD8npyeNmFo33D0TztVoT2TY3Dm/s OTsNfSS//pzpnJsBFaEtyZQErxrbvc/jEWgs8/g+yHBIBgVKmblSUBA5oYkMR6g+EOSM dc8EdTk3vPcgOBHj/DnB6k+adYWV4zq5eR1Aivg/FttHJ637Dn7f1aAPoF1WsF8iOaRX /h9g== X-Gm-Message-State: AFqh2krIxiVIo5CAjPOomByGwqFHvaUOJwukCkls9rEbSRIQVw34uOKj vzHjnjW/F7dkd9ZBnGBYaY+DqAXEY2dRXw== X-Received: by 2002:a17:906:26d7:b0:862:11f6:a082 with SMTP id u23-20020a17090626d700b0086211f6a082mr17533322ejc.17.1674300243568; Sat, 21 Jan 2023 03:24:03 -0800 (PST) Received: from fedora.. ([188.252.220.152]) by smtp.googlemail.com with ESMTPSA id 21-20020a170906319500b0086faa5b06d4sm9236365ejy.181.2023.01.21.03.24.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Jan 2023 03:24:03 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, srinivas.kandagatla@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH 2/2] arm64: dts: qcom: ipq8074: add QFPROM node Date: Sat, 21 Jan 2023 12:23:58 +0100 Message-Id: <20230121112358.52216-2-robimarko@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230121112358.52216-1-robimarko@gmail.com> References: <20230121112358.52216-1-robimarko@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755631475036826390?= X-GMAIL-MSGID: =?utf-8?q?1755631475036826390?= IPQ8074 has efuses like other Qualcomm SoC-s that are required for determining various HW quirks which will be required later for CPR etc, so lets add the QFPROM node for start. Individidual fuses will be added as they are required. Signed-off-by: Robert Marko --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 8eba586065a3..f29491f647fe 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -301,6 +301,13 @@ mdio: mdio@90000 { status = "disabled"; }; + qfprom: efuse@a4000 { + compatible = "qcom,ipq8074-qfprom", "qcom,qfprom"; + reg = <0x000a4000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + }; + prng: rng@e3000 { compatible = "qcom,prng-ee"; reg = <0x000e3000 0x1000>;