Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp250177pxx; Thu, 29 Oct 2020 01:26:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3daWqoFgoics0jM0cN84OgrCqjZj2T0c2u8jDqe7XLFRrh9frR7zxuJjepA5kMjBmBUIb X-Received: by 2002:a17:906:31d0:: with SMTP id f16mr2818428ejf.409.1603960019013; Thu, 29 Oct 2020 01:26:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603960019; cv=none; d=google.com; s=arc-20160816; b=0wFpSWA7bjxCbKYcvkGiY7I8FI20duP/K9/l/EnViLH4v/f5OMEqwThFDiBg18cK+c mQDVEVUYPwceCLhd8LQ4y14Ffo8W551pa/zivZQRATsL2VsY6GnvMYu3NfMqJIx9qKV+ /CiDQ2rmHixpxD1jR0RxvGKkpfJtPT436PYIeSFqt8E6ARbZVo91utS0820hxh+v1wDY wA17QzfQCqvgDchNPnGm0SnqjAmmXlvUw78+7tUGxf+ZUZAjSZ0P2ydgAPTuc92Wiob/ uhqkC8s5Snea3PQX2dmVpsy+HSkrfsCcoskKYmexhUuV6y1hcWO0fPyQppDEFffSMoyQ vycQ== 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=akb3sFyjPHBbZX4M7aYx39aG9OxmM1r+z59p+g0m3bc=; b=i1LMI8IgxIWIfCdY/lbJrZyBi3Qfe/buq13MwhSmLoBBsJoz6wuevoMW3ExiNrhfUs EqjTuM14cOhvb1ZEmsfmI0HoOERcXa7CES7zlQaRjiTBKxQM0AXg5BFRNkaWSP5RKu63 cbjS/2vtpNlzZqpxSRK4Fv1POfaSjdl7UXCq47qYZlJfDf0CXdU11j5o6t/w2usRpOo3 2/geCPim+i0QzNYOZ1qurdsQl+ES+ZMihP4X32VvPEEseolmayhx0e+972wGJRqBR/cN PGDbUPE6nS74ymABl6EhumLroU/2MA3J4QFyX1xROmKifF0BBahUM2W5xAcyTYMe8oX3 mUKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Zb0KIao1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l5si1521132edw.85.2020.10.29.01.26.37; Thu, 29 Oct 2020 01:26:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Zb0KIao1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2388589AbgJ2AaX (ORCPT + 99 others); Wed, 28 Oct 2020 20:30:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728022AbgJ2A2n (ORCPT ); Wed, 28 Oct 2020 20:28:43 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8EADC0613D1 for ; Wed, 28 Oct 2020 17:28:42 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id y14so845141pfp.13 for ; Wed, 28 Oct 2020 17:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=akb3sFyjPHBbZX4M7aYx39aG9OxmM1r+z59p+g0m3bc=; b=Zb0KIao1cRRj4nQdQHR9k+stnfUDsVd78vlm+lB8nUirhOWM/EwMvhclPbv6SOJUR4 wF6fVDaNtuejzlqvPyQsTBEHNrEBZWF6Yi5NyiW5EIzuWhmM5q4q1VSWid1WwRo+T00t Z1sy7fiplEvLj5CAJbWv/xRccfQgeRrQKaC0k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=akb3sFyjPHBbZX4M7aYx39aG9OxmM1r+z59p+g0m3bc=; b=DGQhEm+SLt7dL6ie2RVXCgHcsNXCKYu5S9oW61AlXq6yBFjSbCv8ryOIKFkHJL8GCA +Lp7OJ92I+7SmjjXvla9ZbQVH9uVBrPYcLrpdZheJg0rJIYmPQVKiNg8eT5TrLaAmHuE O5I25Dr8je1/2vy6LfV3SSuOHLHFSzXjZxHSNP8KLpGZtmBBvYOP1xY1tSKTd5MtsHZe SMYAuKwz+g8bToPNCv2JOPGyyMndfR4UltFXjH/LQEApCbDONNFFnAsJRJVK7Xk3J+67 wKxI8EbZJz8+ra4ijioL959KTDhS4sB0/eGDr2nCCqJrdiGEhO6mXn9oH/ZtGPjSQArQ za+g== X-Gm-Message-State: AOAM530lLypwEdtuOWuQ75G6qW0kOT20iEW+7vCrycnGg4sWRI71UOnN b7NMqckq9CAPZr0DFJHnKfdTZQ== X-Received: by 2002:a17:90a:3f10:: with SMTP id l16mr1465131pjc.110.1603931322399; Wed, 28 Oct 2020 17:28:42 -0700 (PDT) Received: from evgreen-glaptop.cheshire.ch ([2601:646:c780:1404:250:b6ff:fee1:7d4c]) by smtp.gmail.com with ESMTPSA id u13sm743625pfl.162.2020.10.28.17.28.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Oct 2020 17:28:41 -0700 (PDT) From: Evan Green To: Rob Herring , Bjorn Andersson , Srinivas Kandagatla Cc: Douglas Anderson , Stephen Boyd , Evan Green , Andy Gross , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/4] dt-bindings: nvmem: Add soc qfprom compatible strings Date: Wed, 28 Oct 2020 17:28:24 -0700 Message-Id: <20201028172737.v3.1.I8b447ca96abfbef5f298d77350e6c9d1d18d00f6@changeid> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201029002827.1729915-1-evgreen@chromium.org> References: <20201029002827.1729915-1-evgreen@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add SoC-specific compatible strings so that data can be attached to it in the driver. Signed-off-by: Evan Green --- Changes in v3: - Fixed example (Doug and rob-bot) Changes in v2: - Add other soc compatible strings (Doug) - Fix compatible string definition (Doug) .../devicetree/bindings/nvmem/qcom,qfprom.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml index 1a18b6bab35e7..992777c90a0bf 100644 --- a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml +++ b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml @@ -14,7 +14,18 @@ allOf: properties: compatible: - const: qcom,qfprom + items: + - enum: + - qcom,apq8064-qfprom + - qcom,apq8084-qfprom + - qcom,msm8974-qfprom + - qcom,msm8916-qfprom + - qcom,msm8996-qfprom + - qcom,msm8998-qfprom + - qcom,qcs404-qfprom + - qcom,sc7180-qfprom + - qcom,sdm845-qfprom + - const: qcom,qfprom reg: # If the QFPROM is read-only OS image then only the corrected region @@ -60,7 +71,7 @@ examples: #size-cells = <2>; efuse@784000 { - compatible = "qcom,qfprom"; + compatible = "qcom,sc7180-qfprom", "qcom,qfprom"; reg = <0 0x00784000 0 0x8ff>, <0 0x00780000 0 0x7a0>, <0 0x00782000 0 0x100>, @@ -85,7 +96,7 @@ examples: #size-cells = <2>; efuse@784000 { - compatible = "qcom,qfprom"; + compatible = "qcom,sdm845-qfprom", "qcom,qfprom"; reg = <0 0x00784000 0 0x8ff>; #address-cells = <1>; #size-cells = <1>; -- 2.26.2