From patchwork Fri Oct 16 19:26:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Green X-Patchwork-Id: 11842303 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0B8381744 for ; Fri, 16 Oct 2020 19:27:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D6BBB212CC for ; Fri, 16 Oct 2020 19:27:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="HEpM1JYo" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2410963AbgJPT1P (ORCPT ); Fri, 16 Oct 2020 15:27:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2410860AbgJPT1P (ORCPT ); Fri, 16 Oct 2020 15:27:15 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08897C0613D3 for ; Fri, 16 Oct 2020 12:27:15 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id d6so1790692plo.13 for ; Fri, 16 Oct 2020 12:27:15 -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=4+eTonsOgHo0VpdzJxRB/GPu2K4jh+xpWGoOhIyKr/g=; b=HEpM1JYoHoJLkOOP2sbmDVjF8fN9J5syKs04/Xn+ydhlhZnLsBLzkUELW7R6LomGMO 1Qs9MIwJJBFNJhNgfrHjfsnC9i2gV6ZBYJWh4pQP114oqU1ZrY1BDH2LaQ0YGJoqVjf/ vW5+VSxxMi3tgOxUcHmwK1tfJPG/2/Dt7VGHc= 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=4+eTonsOgHo0VpdzJxRB/GPu2K4jh+xpWGoOhIyKr/g=; b=pub7M13OCPo2XeW7c4IOoJHJ4qx2s3vAAItuhM5lJt5UoMy03qswjtdfVl7tGLFKtd KqaTeaCQV1RSXrDfsR6t5ky1gr+bTethG9QbEaS2fUcJlhbiMWeFZyy3uZFVpzqv79lp Bqsly/VD1iaLRjbqZWfsD1ytq4bFZ2jJT5l4eWgUKCzV8OJF3VGeClwgEvqsnRS69lVa jDs1OBsrtynhkV4B0Tfrw6DzLR8Qdl4SCLRtvHoC0pZBu6D/vqBvPQrh5M756ugdzi3E oew2k4cAF71OTuY4/ZlKQUBrtGmU8u0INh1dFxNVymekAE8GJNz4xCZWMbIF0M5mmD/4 XrEw== X-Gm-Message-State: AOAM531HkuJQh5NQ0wa210fq3cNq2f7KI+CwoAthyPoTRBYPbgE5mw5W GEIX272+dfgaER76a8iLjOmH0Q== X-Google-Smtp-Source: ABdhPJy+OQEHMSMcS1vd93N60CBMVeSW+QitL/129/y8kekcDBQACGbQbgRON7NeBT5QkZx+oPIx/Q== X-Received: by 2002:a17:90b:d91:: with SMTP id bg17mr5649631pjb.66.1602876434596; Fri, 16 Oct 2020 12:27:14 -0700 (PDT) Received: from evgreen-glaptop.cheshire.ch ([2601:646:c780:1404:a2ce:c8ff:fec4:54a3]) by smtp.gmail.com with ESMTPSA id lb13sm3566622pjb.5.2020.10.16.12.27.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Oct 2020 12:27:14 -0700 (PDT) From: Evan Green To: Rob Herring , Bjorn Andersson , Srinivas Kandagatla Cc: Stephen Boyd , Douglas Anderson , Evan Green , Andy Gross , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/4] dt-bindings: nvmem: Add soc qfprom compatible strings Date: Fri, 16 Oct 2020 12:26:51 -0700 Message-Id: <20201016122559.v2.1.I8b447ca96abfbef5f298d77350e6c9d1d18d00f6@changeid> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201016192654.32610-1-evgreen@chromium.org> References: <20201016192654.32610-1-evgreen@chromium.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 v2: - Add other soc compatible strings (Doug) - Fix compatible string definition (Doug) .../devicetree/bindings/nvmem/qcom,qfprom.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml index 1a18b6bab35e7..eb1440045aff1 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