Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3054423pxb; Mon, 4 Apr 2022 06:47:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBfoJdIkfhHJ4XN906Z14tumy15lO/6VjYPC9hS0ULDRjlpwEsee0MGOyX0HRanr/Pr9NP X-Received: by 2002:a17:902:ce90:b0:154:3029:97e3 with SMTP id f16-20020a170902ce9000b00154302997e3mr23749096plg.47.1649080077717; Mon, 04 Apr 2022 06:47:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649080077; cv=none; d=google.com; s=arc-20160816; b=lQDTQOV2G4S8KVenCLYGBkD4LR41Ld11Xc4pgjtpW7VnRFTu2a8/qbj95R9ctg2PE/ fUHWNvgPMV/Rtd0QorfMmUpFlX1rFNVmSoIECX3TGnFJzJfu03vtXMuAEW4Sa+IBE8iA g1MXxPPYNLRF7brcdim7xOH4lCptaUvmqhHwdsuQj8wIqHz9JH6zMHiqvH7qD03EDpo8 5sga2e7NNcMdse/rM98katO7XWFMcdM+Z3IoW2VxUW/P41u4ES4ZjBTaC7LlCWhLvDbo ny5ttgS6vgoWe+gm314H8Yds+wteePqI1LweEqKqyPvha4+giyR2fEQPp8S4JLj+Givm ukiA== 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=awaGy3AgEjkVWY5viWVsdcdecgWlX4P5wwqKYqVk47A=; b=DtmWNLtyqo5hTiFjaDBrJ+uGyjg+zxMVJAvHGxXGupgBKADXmyIC4kCX0phJ+Jiw8c UqTdHOpruNa3gnyucDpeAnXVVcZwhDNFXhsNA1htHlINpFbEPgHhF5lZco7eCKlnjH7q 8zarxD4p53l7d1LRDMCUmsFnm0usnOqiMu5QTDxrEK3PQmfPfCZa/ucGgfQDeETzqXW4 Hgozpal622ZG8Jp4oHPTnKUN5zzb1borMCwO8i2jJERlgwHwV/MpsAqcrQ3YHRBXioLL LQMRvQopiU3DrcdVOZ8WgiDFcqYHgb4HJKcHixGy8AKh8HMTWoFt6HkDZgxusrKvsbge +NWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OCcipaDD; 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 b13-20020a63714d000000b0038295fbcb98si11728103pgn.247.2022.04.04.06.47.40; Mon, 04 Apr 2022 06:47:57 -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=OCcipaDD; 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 S240921AbiDBLly (ORCPT + 99 others); Sat, 2 Apr 2022 07:41:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241322AbiDBLlx (ORCPT ); Sat, 2 Apr 2022 07:41:53 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 567768CDAD for ; Sat, 2 Apr 2022 04:39:58 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id n35so3133653wms.5 for ; Sat, 02 Apr 2022 04:39:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=awaGy3AgEjkVWY5viWVsdcdecgWlX4P5wwqKYqVk47A=; b=OCcipaDDf9yd6e+SAB1jG2Pu61JoysxDu7Xh5IkBfEfV05Id7giu2MWVGfJbIVxAS1 Th2jEi6XkBu2cMKGD4NsXCEKll//buTp90ViuTWQz2PwHFxNXRnDs/fbiZRJx8H2El1a bnI/bcRXXX+qnUIpXHuQkuqHi4a92Afi1tt5Q4NaWcdG8fPkjWX9+tMImm4tOgk9rEfJ 1PPmJDDVxDUCB4m++M4Wjqdk3FmQNoDIwG+hBcjX5HwMwm8bqdDMVFbKBqXN1wDxhAco zrl7Ye1RcfFnVg1LYOosi4oSQK536Tzr6AwePFy50YA0V10RNJ2lsGlU0TzaTGDPdh4M kAVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=awaGy3AgEjkVWY5viWVsdcdecgWlX4P5wwqKYqVk47A=; b=pOPGztai3xky6Dr2q7IcxE0sBUtoIcSSx+4rDmcf9A+IfopD9NJn3HB8fU9Z4ptYta c3vMcQ2LA8Z8hOu0674RpoWqGvxicNYoxcE1qBVEyylSOHnh1s9vFe3mqSoqWEGQPzFr 9d0a7MKTZGCy8NMp8lPEOmDvR+qBcI53TaOi12NtHMSXRs2ASdNLVDAlnlM34Q8YnWld e3EtL6XIgNc/4RJer76DwX0m+M6zGScJsTzPHz0SsMh4nyxHJMERC33GbaVlMas2Im3s t95CXY1O2QydlKjqgHx4vOZb3Qi9z90EfE57VQhhuwJ8M2zXSfqEAhobpnLqi4n8Kh0S aj9Q== X-Gm-Message-State: AOAM533h3NLip/snRcLfhRBP3t8wajAjtoiKh8SUiPvqXQxdvo7r/h8s oBu4yJgQ9L/ej6LLI9vWZZzS4A== X-Received: by 2002:a7b:cd01:0:b0:38c:9142:2006 with SMTP id f1-20020a7bcd01000000b0038c91422006mr12362990wmj.4.1648899596890; Sat, 02 Apr 2022 04:39:56 -0700 (PDT) Received: from [192.168.0.171] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id o9-20020a1c4d09000000b0038ca75056e2sm16692104wmh.45.2022.04.02.04.39.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Apr 2022 04:39:56 -0700 (PDT) Message-ID: <6d1353c4-7ecc-c65f-73c0-5f856b72d25e@linaro.org> Date: Sat, 2 Apr 2022 13:39:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] dt-bindings: Fix 'enum' lists with duplicate entries Content-Language: en-US To: Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thierry Reding , Jonathan Hunter , Mauro Carvalho Chehab , Charles Keepax , Linus Walleij , Sebastian Reichel , Tony Lindgren , Yunfei Dong , - , linux-media@vger.kernel.org, alsa-devel@alsa-project.org, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org References: <20220401141247.2993925-1-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220401141247.2993925-1-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 01/04/2022 16:12, Rob Herring wrote: > There's no reason to list the same value twice in an 'enum'. Fix all the > occurrences in the tree. A meta-schema change will catch future ones. > > Cc: Krzysztof Kozlowski > Cc: Thierry Reding > Cc: Jonathan Hunter > Cc: Mauro Carvalho Chehab > Cc: Charles Keepax > Cc: Linus Walleij > Cc: Sebastian Reichel > Cc: Tony Lindgren > Cc: Yunfei Dong > Cc: - > Cc: linux-media@vger.kernel.org > Cc: alsa-devel@alsa-project.org > Cc: linux-gpio@vger.kernel.org > Cc: linux-pm@vger.kernel.org > Signed-off-by: Rob Herring > --- > There's also one other occurrence in snps,dwmac.yaml I didn't fix as > there's a patch[1] for it which prompted this patch. > > Rob > > [1] https://lore.kernel.org/r/20220401030847epcms1p8cf7a8e1d8cd7d325dacf30f78da36328@epcms1p8 > > .../bindings/arm/tegra/nvidia,tegra20-pmc.yaml | 1 - > Documentation/devicetree/bindings/bus/ti-sysc.yaml | 1 - > .../bindings/media/mediatek,vcodec-encoder.yaml | 1 - > .../devicetree/bindings/pinctrl/cirrus,madera.yaml | 11 +++++------ > .../devicetree/bindings/power/supply/bq2415x.yaml | 1 - > 5 files changed, 5 insertions(+), 10 deletions(-) > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof