Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1961618rwb; Thu, 29 Sep 2022 04:37:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6KregvhEBxE/CLWmgCfs/bZ4wLEqalVgEFvCHefUNTi8fRzGAdl7DsuhI7qxu0A5btUtoc X-Received: by 2002:a63:a64:0:b0:43c:22f8:bd76 with SMTP id z36-20020a630a64000000b0043c22f8bd76mr2567814pgk.378.1664451479617; Thu, 29 Sep 2022 04:37:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664451479; cv=none; d=google.com; s=arc-20160816; b=AkkJ6J8iBvdXUhEw3VgHyh68rxlWQZIhTJpFJEx00BHMLO4qcZcMgqwXMqtnjvmN+r gUWaalHzibBhDVguZ9S0r20gT1ZRCD8GDRkPJZt/23ZwOEo4Xzj7fhECitosvNljeC3c FEMHVasoatMnfg24BxeRGRqY8O4uipAMXlKaCNwgOT4EHAhp/X31UrqchD4LPW/7kyAD mHggIBkTPfNQmaHUVyOYIpZttRKaXvL9qF6ggenXSk5Ay1n7I98fir+pKOnRM/9DLDGp V3cEWsA9Xw9wFUbtZXzmzaqHlzSZWNZE+3we2n0Ko1Qjtc7wb3OKGS09tSdFl4q6H8Wh CLUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=JCh++P5qIzDBHCAdkyavsqkmhn8xd4gauTae0eHjI/s=; b=SbdjgzAMh74umj8imAzM3QteUL98jR/Dujyk9JutG5pR/jHuUlwe2DSsa16+RbhJBP JrP/mMqbIpr4uqaLTbZWL0bUqlu6BAqYQTKxqb1oe6RYXp2ApAvoHAMGH+2ebjr94aXm CeRy3hJdY1ukCSCA/ZnKA1VZJuOcMwIQxXV1c1WezcbzkQN2+kDmmzhon5tIA6BxX+Q7 9RtqgblxbZEV5Acl0wI8ujfiiBXnS+GZZiNV/p9Lk5jojF3RwmMztRFgsKz5ao+FY7z4 gk1fRmvvvTG5mRq5pyDxWj0cOWE6aeUmBggANBNR9Wbusa+ig7Sn2e6sKU7X6u3cf4GT pmVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=asdXkChl; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u184-20020a6385c1000000b00434dd689f07si8243327pgd.846.2022.09.29.04.37.47; Thu, 29 Sep 2022 04:37:59 -0700 (PDT) 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=@linaro.org header.s=google header.b=asdXkChl; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233488AbiI2LOH (ORCPT + 99 others); Thu, 29 Sep 2022 07:14:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234574AbiI2LOC (ORCPT ); Thu, 29 Sep 2022 07:14:02 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61D6A133C81 for ; Thu, 29 Sep 2022 04:14:01 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id a3so1705958lfk.9 for ; Thu, 29 Sep 2022 04:14:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=JCh++P5qIzDBHCAdkyavsqkmhn8xd4gauTae0eHjI/s=; b=asdXkChlFju1IPfKnT9Zzz6BqO2nzkgscO8FO1TEbmmzGObR03XAcp68Q31idxjF8b +IWu1Mz5jExFv8XhVka2L2sp6GVtnewzz78xdUNgjd6RfnkVF3H1vFMeLx1QrMBC5MKU oep7vR7UyH/T5/zYUinW1WizcVWnmUU82z1y37x0OWrZKbIh7zebtVBy7f5am7X/utUH bgpQL2hPF9v6sc6aSMfNJhKg8RqDRbWyemuG3xqhO7ZDIieabIX9iZr+4TOhNur4GpcN Cd8to3ntEON8IOE1YP0IxdrQ9Rh3rvSfJmLeLR1iHYJq9VnycbtbBusGVFL1XncctcJ+ ytGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=JCh++P5qIzDBHCAdkyavsqkmhn8xd4gauTae0eHjI/s=; b=7EHdwD5elZSCdJzR7eMI88u1CVtUdaryOsI+Z7+n+6K48Upi9CzIz5jJ9gwvpKShDF ktLJeLKx+dJUkcxoTJHMO+OVnYn7FaIYbjthuCPNuQmOQJFL7nbNd+SknYzIfohkPhyT ixvTOjvDQ59Cx5osKgoGKGUUY/sFpy+jLxL+lt6cmI1fQfM/SU/JhXME3yrbcCbGF3Ei 4Hwdq+LAG3XtqmBIgKbGGuBXyf3GMDOvfbu1FvDg+tvEmBYMokNxFnqXAEfKzOY18DdC CnSge4r6NcaQ3C32ZN/YVtuWpl55XhbhL9cIPjPVuR26iaNY2Ar08rJezieXrft3qokp E+LA== X-Gm-Message-State: ACrzQf3fACPVCZ2ra1FInMsTtpEzKPT1Pr5Dt3KLsahkjdYHS1OVPGCq mpy7RJINOwLa1Vklnsiz31drnA== X-Received: by 2002:a05:6512:401c:b0:49f:4b2e:7153 with SMTP id br28-20020a056512401c00b0049f4b2e7153mr1115352lfb.443.1664450039671; Thu, 29 Sep 2022 04:13:59 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u1-20020a056512128100b0049a5a59aa68sm757355lfs.10.2022.09.29.04.13.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Sep 2022 04:13:59 -0700 (PDT) Message-ID: Date: Thu, 29 Sep 2022 13:13:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v1 2/2] dt-bindings: add bindings for QCOM flash LED Content-Language: en-US To: Fenglin Wu , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Pavel Machek , Rob Herring , Krzysztof Kozlowski , linux-leds@vger.kernel.org, devicetree@vger.kernel.org Cc: quic_collinsd@quicinc.com, quic_subbaram@quicinc.com References: <20220928024239.3843909-1-quic_fenglinw@quicinc.com> <20220928024239.3843909-3-quic_fenglinw@quicinc.com> <6c0e5083-baae-3ed3-5eed-e08bbb9e7576@linaro.org> <2d6fac8d-0ac1-75bb-0b4c-c2c34583b09e@quicinc.com> <107dfb13-85fc-123d-d244-962ce6c1cdb7@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <107dfb13-85fc-123d-d244-962ce6c1cdb7@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 29/09/2022 12:56, Fenglin Wu wrote: >> If driver binds to only one compatible, it is expected to be the >> fallback for all others. There might be exception for this rule but it >> does not look like here. >> >>> But I was thinking to give out the PMIC names >>> here so anyone who is using the driver could easily identify if the >>> driver is suitable for the HW that he/she is using. >> >> I did not say to remove other compatibles, but to use one fallback for >> all of them. >> > Do you mean to update it similar to this? > > compatible: > items: > - enum: > - qcom,pm8150c-flash-led > - qcom,pm8150l-flash-led > - qcom,pm8350c-flash-led > - const: > - qcom,spmi-flash-led Yes, just const is not a list, so "const: qcom,spmi-flash-led" Best regards, Krzysztof