Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5559505pxu; Thu, 22 Oct 2020 05:44:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzq5uKoS1noyFDptSz1k55LRw3CkgDuRzKiF+H55FYCgvVJpeYv5/aGlDAsLuInA7iAd8k5 X-Received: by 2002:a05:6402:1042:: with SMTP id e2mr2105029edu.320.1603370649505; Thu, 22 Oct 2020 05:44:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603370649; cv=none; d=google.com; s=arc-20160816; b=uMTyO2LXq8v3B8x4r4iynbPf99J7+chHCntcGPKAxNy7Nw236Lfp/HiFZpykns+c4/ cUJQ8XLbpP0N4bCan/7agxPiCoKDFeRFV8eljx5iQkscMRD0HswgSj2TORieew2/TH3L rs/CaLfV4ma4bbL527j6SwWP4BIsavNgAEDATWsfonM3RzjOmxjwPl0VpoGsDNbcXYt7 P5UVXRxKfH5j6EbesyWS1KhNF8VSCf7867aEoaDAL7+iOJ/0BwBrF2dMnExJmAzwD3F0 QnII20kBe5onjWkMXAvFIJSpN0cQISyto8bMejMZL1UtnAWcruCJ0JEbaZIveOIluzdi IDrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=fiI+ivAkRfzoArXOKg0GeDaxWAM5Ef0WBWauCl2e4lY=; b=ACaDkhOdmS2wfgf/NX2/4Yy3onweoVvA/qGW9u93A39i/xA8IhAho/thha7fpSOPAg eHzWtuGMuJNp5YQl8HiGhLMD54xkWktP20m0M0cybi7nPrMyj4Gm0tWZcyTgYVppoo5l DsyNV11yW7VUaX5sOZyGKk8Li4iKZLYJazrXa0TweVLzZSFSXTJGdnsKRFLCHqGqLWBF BRcse15oKtI+q77eHt8UhC1asQXLoVLjZvvl4nz4qJqF3qD9mFyrRlv2i9vtAn/sPGmh BdKDGINlm0kAKE04ooApKnLV1aLS5jA0HEC501lWmEJIIFrZdTBFoYjnwinBKcVpEkyk 7UnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GU69OBpf; 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 rn4si986845ejb.703.2020.10.22.05.43.47; Thu, 22 Oct 2020 05:44:09 -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=GU69OBpf; 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 S2506324AbgJUVlL (ORCPT + 99 others); Wed, 21 Oct 2020 17:41:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2506305AbgJUVlK (ORCPT ); Wed, 21 Oct 2020 17:41:10 -0400 Received: from mail-ua1-x942.google.com (mail-ua1-x942.google.com [IPv6:2607:f8b0:4864:20::942]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1154C0613CE for ; Wed, 21 Oct 2020 14:41:09 -0700 (PDT) Received: by mail-ua1-x942.google.com with SMTP id x26so1110567uau.0 for ; Wed, 21 Oct 2020 14:41:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fiI+ivAkRfzoArXOKg0GeDaxWAM5Ef0WBWauCl2e4lY=; b=GU69OBpfiopIipOmEG3+SBUQ1TFsTZ8rOfH655pf1Au0FRsI5BvydXLkZZwCr/xC0U uHuaDjnbmUV6JIic2c6K+dAm5Ef3ZoyV0ceaZIEbwQkKhjuDGwHTKAWhUs+YGVG3VR1R s0ph1pA08bd6Fm/7mOHhwfOLs4GY2x57CH+nc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fiI+ivAkRfzoArXOKg0GeDaxWAM5Ef0WBWauCl2e4lY=; b=rahCxCMEBx3fgwJ5jf2SkqHQqAvDt9xU5Fs3l0PGdejj3UwtgozTx0Y8Vj3jqXC/a5 NL05sTwBmUOy5TWSoX2sw+3rFdpEO5OHQIQQeZvAsz8kA1fQK8Ojs7MJLAAbAmx9hYXP BAQUay+pgOixpb6zkR0DY8LrJ4YaQ9fiNr4dstMRhLlcPZpx2E6yW5CKBUDEhb8g2Bi5 u73iHRkje2dvosqbT//hAso8vLInT2h7mCcn13QJmSj+K2KIsVuUhc7cX34NLqnPm5bF mB5E0psdKeo9XjU2GV1dLxX1Q5WT2WMfOL0uMVoS/hlD3if2MX+lO67flepjxurX61Pc DMkw== X-Gm-Message-State: AOAM530HS6cn2LekqFe0fevpQaV4CJefQe4nJ/n8OEQECkfpe6BIN6kZ 9rC8hX8lI2rS56Yhg544bQgfWpob4GwH7A== X-Received: by 2002:a9f:3fc4:: with SMTP id m4mr3331970uaj.16.1603316468431; Wed, 21 Oct 2020 14:41:08 -0700 (PDT) Received: from mail-vs1-f50.google.com (mail-vs1-f50.google.com. [209.85.217.50]) by smtp.gmail.com with ESMTPSA id o5sm458502vsl.20.2020.10.21.14.41.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Oct 2020 14:41:07 -0700 (PDT) Received: by mail-vs1-f50.google.com with SMTP id d4so2090100vsk.13 for ; Wed, 21 Oct 2020 14:41:07 -0700 (PDT) X-Received: by 2002:a67:e3b9:: with SMTP id j25mr3757348vsm.37.1603316467072; Wed, 21 Oct 2020 14:41:07 -0700 (PDT) MIME-Version: 1.0 References: <20201016192654.32610-1-evgreen@chromium.org> <20201016122559.v2.1.I8b447ca96abfbef5f298d77350e6c9d1d18d00f6@changeid> In-Reply-To: <20201016122559.v2.1.I8b447ca96abfbef5f298d77350e6c9d1d18d00f6@changeid> From: Doug Anderson Date: Wed, 21 Oct 2020 14:40:55 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/4] dt-bindings: nvmem: Add soc qfprom compatible strings To: Evan Green Cc: Rob Herring , Bjorn Andersson , Srinivas Kandagatla , Stephen Boyd , Andy Gross , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-msm , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Oct 16, 2020 at 12:27 PM Evan Green wrote: > > 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 As Rob's bot found, your example no longer matches your requirements. It needs an SoC-specific string plus the "qcom,qfprom". It's always good to try running "make dt_binding_check" to catch these sorts of things. -Doug