Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp4550011rwb; Mon, 8 Aug 2022 03:06:56 -0700 (PDT) X-Google-Smtp-Source: AA6agR6CIQbECcryIlz2Heslmi8hjSJPPGThjtAvzGDXUZEVKNpyTX85HNBoFAb5J1ZaqwczT3DU X-Received: by 2002:a05:6402:51c6:b0:43d:dd3a:196e with SMTP id r6-20020a05640251c600b0043ddd3a196emr17371671edd.213.1659953216140; Mon, 08 Aug 2022 03:06:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659953216; cv=none; d=google.com; s=arc-20160816; b=y1GxcIGDkr3iztyq5ltufoO5bBcU9P3Z6MM48W06Jm5nETNY9EQ7UqEaSh5bGLH/lM bkSXDYO7J6an/gz4AuDy8BmoOcPrclovLoUUFoEyiSqnCAplm9C0kbNK+5KjaDlU67ZO 2kd4fPLrLmxUwWDQvUkZh+EyPBdS9sOnBFrtqmmG3TK65ZYhJCQrNkDdO6Li1SvYGTud mTXVP3Qx/qiKT9n2gy6IzmcUUbhAMtCcatqIXC9PmiXm9A6smyXVF/J/0hN/l71ufHyN /vLHPEZ6dDToudEv6AhSZwWQhILl3MchE3ux8KSRCEAy21Pnock3H9G5qb6UHDe6/al+ 8Axw== 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=CHwnBGdAKbmhhJxDHk3aaM0ofkDZoUEAXm8AbvSBBQM=; b=ikwJX3OtJQKyBjKEJyfSwkyK68ZYNY6Aqo+wxPQT0HlyXfWw1Hglyh6eKzAtfuT0+f CH/gVoZ//WeolGM3vnRX/2R7h8Hv7Etpb5m14phKa5mDQt0evt1dCIyN/UQm3s64U1Yt 6Iw/nMN8fjWBIsr6y2LwQMBAGImNtIMrk3gEP/vNnFEtjdGjsAcFm7dF26lnbaSkTLKD c7FKeQstDNQp0xAsLjaR8I2b9wL3vaCavdCr1KSTlagVrFhgn/2WcmUW2E5fmjhRAh/K RvVmjuCwaLSKS0lN+6EESvhz6iwJXy3YkgRHNtk7IsgbO1//8j0Oglmn/lx/q7ikBC2P F2Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=m4uPMfQL; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bx6-20020a0564020b4600b00435b2a66c73si5695470edb.191.2022.08.08.03.06.31; Mon, 08 Aug 2022 03:06:56 -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=@gmail.com header.s=20210112 header.b=m4uPMfQL; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242071AbiHHJuq (ORCPT + 99 others); Mon, 8 Aug 2022 05:50:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242158AbiHHJuh (ORCPT ); Mon, 8 Aug 2022 05:50:37 -0400 Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDCD82657; Mon, 8 Aug 2022 02:50:36 -0700 (PDT) Received: by mail-qk1-x72c.google.com with SMTP id w6so6040819qkf.3; Mon, 08 Aug 2022 02:50:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=CHwnBGdAKbmhhJxDHk3aaM0ofkDZoUEAXm8AbvSBBQM=; b=m4uPMfQLUFaZLoWlQVsZjZ3OBalSzne51fU4Kwe6EBPP/McVsMTWSf1ymNlbiA7JxY 9xzZlLLuOhMD1HxN032h8e6WgOA9mXmjwW7kdqB1e+LgbCkF2rKimUC6ciLkTSsvBC0Z HdIRDSOJx16ya9qXuUbuEx2+DArfunEHJqO6Wv/KcOmyXqPs1iT/IF6Jp5OySS4A8Nj2 b2AyX2uyZs5TLrUw1GBs4K9f9d1t4ExC4PKZ2WpACd6YEhXmvg9v0D7OKXKY6Na4bYM7 Y880JC0Vi9+vUOv7yyojV4E9o0XHuFJr+GYcVdem6Rk8GKy6DnJUagwRpzXVm33FgR4z pkLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=CHwnBGdAKbmhhJxDHk3aaM0ofkDZoUEAXm8AbvSBBQM=; b=FmbDq7eqiSRrzK1WdLObl/OTEW7kWjH8WIiWhZFsaVm/PMq7XJYia3kGt/s75z+nwy 9OZeV9Q1DLz0Ds6zorsC6JS9h7bU0w5uoXJhUdeBkz4VOuCuYy0scVQ4h1Y58lAmeIF1 y9m4QJisJZrspiia/SvEKsUkz9A+Eexe5hmhR3cUu7DGizA+tP3XVHNdPdgia4Qg3VqY WS3AQESOG37Hn8n5l5Noe8erfxYSFKLhfSYsDDmaMBL8VkO0SAU7yRSCUYUxJBbOkPJc KhRepc4e4R4hibuuO5raDU7hp+AsWpiXK5cC8ctGlwkqJDAE5QTNdKKkG6H30E36zZAA mAKQ== X-Gm-Message-State: ACgBeo3OUAlJ6UbBPHSp5LyMa3OYym6XB0JoPthQ23uqwx3aMlX84OQB ZUHv/s0YJ2fOSinhs5NDtaR6GEwHWhDNGxZtdUk= X-Received: by 2002:a05:620a:288a:b0:6b8:fcfe:db02 with SMTP id j10-20020a05620a288a00b006b8fcfedb02mr13561200qkp.504.1659952235916; Mon, 08 Aug 2022 02:50:35 -0700 (PDT) MIME-Version: 1.0 References: <20220728125435.3336618-1-potin.lai.pt@gmail.com> <20220728125435.3336618-3-potin.lai.pt@gmail.com> <20220731130959.50826fc4@jic23-huawei> <4ea235d1-46c1-87de-760f-dc4775007ae0@gmail.com> <20220806181252.7633f19d@jic23-huawei> In-Reply-To: From: Andy Shevchenko Date: Mon, 8 Aug 2022 11:49:58 +0200 Message-ID: Subject: Re: [PATCH v5 2/2] iio: humidity: hdc100x: add manufacturer and device ID check To: Krzysztof Kozlowski Cc: Jonathan Cameron , Patrick Williams , Potin Lai , Lars-Peter Clausen , Potin Lai , linux-iio , Linux Kernel Mailing List , Rob Herring , Krzysztof Kozlowski , devicetree Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Mon, Aug 8, 2022 at 11:40 AM Krzysztof Kozlowski wrote: > On 06/08/2022 20:12, Jonathan Cameron wrote: ... > >>>>>> compatible = "ti,hdc1099", "silabs,si7020"; ... > Or if second device is so different, why you want to support different > hardware with the same device node. This contradicts the very basic of > Devicetree - description of hardware. Briefly looking into the above mentioned drivers points to the above case, broken DT principles ==> broken DT ==> nothing to fix in the Linux kernel. -- With Best Regards, Andy Shevchenko