Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp638542iob; Wed, 18 May 2022 09:36:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmyPvfx85P0OTiyeSUKPwLi3aJDkblU+8Km4m5RL0ybm0NbXvSU+6bmOfGeXKX0L51c4Ih X-Received: by 2002:a63:8b4b:0:b0:3ab:25dd:3836 with SMTP id j72-20020a638b4b000000b003ab25dd3836mr292125pge.112.1652891815682; Wed, 18 May 2022 09:36:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652891815; cv=none; d=google.com; s=arc-20160816; b=hsJVrnlbOQQ+Xf1EIejIIXj9pQb/9ENFJfWu7exYrwV/xLjEgzXtVrQw6hAHwBdHlY 3g58LCjDnddO5zQj1wABGlOdcqR/1hAqLMb3TJbi8c1SF4gcLHMlWOblAkQ1a4dkOsB+ 8JQkOuPUjg9ux5lIUzJOfgIpejQRaNezylJm5D1L+vO3WoRZi5d2AN4XHG5ciVn2yGWc 2WFAbW/8zjb1rwAUEZC0z3a+rA4HMBSnb5Zo8GJr5mvyMhA27heYEhVIlkVhEwaursC0 bcLGdp6Tssu3jiz9BbPU0sYOa4XrHP/7ikt8FSu4n2gJIjBNy0mAnvOCv+xqBLYYut3N 2KNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=EE6DC5ExVq8aMmee7fTZv4EanXPMS3zovzIBFDm5qOE=; b=CCI/9XTYhG2XA1GDsJTexd9b8oJjvNAWyInawLRWmKP7h231jFe8Yg9nRn9mUVAl52 ayG7TAjIQP85mCEVw+w8iemlbXe3CgZ95g9KeiDnK66rpX5v//OqFRnP5De18sCDVLzm sYG/IVEWdOcDm26OoiFFuuC69ls4Id2qG6qlmlo5e1Sa/E3dnCyTvjGuXlMAze2buAg6 1MqjjFnTCFTJy5hLl1xeLYwnY+X+xcn3Xq2Fs1udb7OgvabgyfVEgJmglYb1FdPf4R2Q Z6O4BZXpllJpl9nHbMSCxrznID6Ij6XpHbDITWt25Zn76HgMtoHIbEzA4LMeFsLq0I/n 3d2A== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id w19-20020a17090aaf9300b001dc21092149si3097616pjq.140.2022.05.18.09.36.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 09:36:55 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A22051912EA; Wed, 18 May 2022 09:33:19 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240299AbiERQdC (ORCPT + 99 others); Wed, 18 May 2022 12:33:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240247AbiERQdA (ORCPT ); Wed, 18 May 2022 12:33:00 -0400 Received: from mail-oa1-f45.google.com (mail-oa1-f45.google.com [209.85.160.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC457187072; Wed, 18 May 2022 09:32:57 -0700 (PDT) Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-d39f741ba0so3349719fac.13; Wed, 18 May 2022 09:32:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=EE6DC5ExVq8aMmee7fTZv4EanXPMS3zovzIBFDm5qOE=; b=N7GTzGPw6hAModwK3YyKoJwo10kmlTDi07W5URh9rP6VbCLr2w9t159w5gWdpEcrcV /Q9Z8jA3payvKJeX1c9SL6z1OkKt2U/ATGflj5R2HB/GXDP5jB5ecAoy4h5aQTzmXRr2 ZI4U2OSq3wIPp4XuASAxsuTUw4BW9tFzXLktZ3xDitbQnX+rBIc1N8DVgxyLf5/bwep2 vlU2Gzmq1HrVjwNXw6HyD28WT44HN67zgusL80glIaWl6slHI/ct6JYSpA+/0Kg8Qwje BGZEYUsM+AmanhP4qF9g0NQOAWbACXaFhZ2mZsr65PKmwDxT1vEqvkX95tCYRU1RzaFz J2sg== X-Gm-Message-State: AOAM533rKx3pYTeZ8QzUph+AuFaOHUWwsHhZEQMgyTVyZfTg2VKqireR qNi5VliN2qAPTB3Qpo5CBA== X-Received: by 2002:a05:6870:41cc:b0:f1:b014:1107 with SMTP id z12-20020a05687041cc00b000f1b0141107mr164731oac.185.1652891576647; Wed, 18 May 2022 09:32:56 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id r3-20020a4a83c3000000b0035eb4e5a6c2sm1123684oog.24.2022.05.18.09.32.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 09:32:55 -0700 (PDT) Received: (nullmailer pid 3454369 invoked by uid 1000); Wed, 18 May 2022 16:32:55 -0000 Date: Wed, 18 May 2022 11:32:55 -0500 From: Rob Herring To: Shreeya Patel Cc: jic23@kernel.org, lars@metafoo.de, Zhigang.Shi@liteon.com, krisman@collabora.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, alvaro.soliverez@collabora.com, Krzysztof Kozlowski Subject: Re: [PATCH v4 1/3] dt-bindings: vendor-prefixes: Add 'ltr' as deprecated vendor prefix Message-ID: <20220518163255.GE3302100-robh@kernel.org> References: <20220511094024.175994-1-shreeya.patel@collabora.com> <20220511094024.175994-2-shreeya.patel@collabora.com> <20220516170058.GA2825626-robh@kernel.org> <83907dd2-2a53-2448-576b-ae26462d432a@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83907dd2-2a53-2448-576b-ae26462d432a@collabora.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, May 17, 2022 at 04:07:33PM +0530, Shreeya Patel wrote: > > On 16/05/22 22:30, Rob Herring wrote: > > On Wed, May 11, 2022 at 03:10:22PM +0530, Shreeya Patel wrote: > > > 'liteon' is the correct vendor prefix for devices released by > > > LITE-ON Technology Corp. But one of the released device which uses > > > ltr216a light sensor exposes the vendor prefix name as 'ltr' through > > > ACPI. > > ACPI? NAK. > > > > There are no cases of 'ltr' for DT, so fix ACPI. > > Hi Rob, > > Yes, we understand there are no cases of 'ltr', but we have released devices > which uses this string for probing the ltrf216a light sensor driver ( x86 > with DT ) That's not what your commit message says. Even if this is DT based, given an undocumented vendor string is used, it seems doubtful the rest of the binding would match upstream. What about the rest of the DTB? Got a pointer to it or want to publish it? > If we don't document this in vendor-prefixes.yaml, then the following > warning > is generated. > > WARNING: DT compatible string vendor "ltr" appears un-documented -- check > ./Documentation/devicetree/bindings/vendor-prefixes.yaml 364: FILE: > drivers/iio/light/ltrf216a.c:313: + { .compatible = "ltr,ltrf216a" }, > > > Can you suggest us what would be the right way to fix this warning if not > documenting > in vendor-prefixes.yaml? Fix the DT. We don't accept bindings simply because they are already used in the field. If this was the only issue, it would be fine, but I suspect it's the tip of the iceberg. Rob