Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1510770pxp; Thu, 10 Mar 2022 06:54:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwYSdVE7L2XHCbrcace+RoBPIHnKulKcFLiHOC8SrLYqP5+ooMMPq+0QcVjaeGmNA9cgPx X-Received: by 2002:a17:902:b185:b0:14f:2d94:184 with SMTP id s5-20020a170902b18500b0014f2d940184mr5302931plr.56.1646924092852; Thu, 10 Mar 2022 06:54:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646924092; cv=none; d=google.com; s=arc-20160816; b=rrdTLXi+lBnys5V7gl80vjoOx3DHst6pGoIH7MRvfwuBsju4L9BdNz+eCUGGmBWPzE IcNEw1gVmRm5r6PXqiz8U/+9fVi7YWxDa8UxEbYR2X/UWf9enUwrajZ14iWZ7izoAXLM axUAi3uUQUVAoBtbLpAi3vh4iXOk6c5fSD2pYXsm4EfbdoYZ/CJtxWpcKlWNZBDnlJfA R3Xryk8RoHwvAc7suUB9wIE81/7yLGj5D/1Zb50rrvcUxSZ3QJFizw5UjNQaR0H8Cbwr T4VsoqOdCbys6TQK/JLK8Yg+IQhLokKoSuQJLDmGZVuPlM046UyTUKQm5Fc7AlqQ+LIz BUKg== 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=bD08i1b1Z+a0jckACUWyZF49FUKoI95aym7BAJB81+4=; b=Je75IMbej70kpXupczVxow6qsZnGY4fV0hcWaU5SU+FAj5R6QVSgzbDPUsZ8TrQwMi F/TIfejVvrVe25R9xG9YO/IQ2Odkm8sYSI37j+ajo2A3CsamE1kSDeu1Hjpo03XjdIEy 5HTqzLeS3t9DFnrZXQnQWfsADwcmR196ef2YCJxCbXbZR0UbkkE4uETMv+H2Intdpv7z tJoO1DNba+YgWqcYuJnXd30LifoWfvUuKDkNidWRAwwZQ8aeGtt5613BjCrxCs2cDU3v 8rphbZkCmFhWDMxQV/ywrFB7b77NkeN5cjgpVZamBns1Gq8CwNnVLbFys90xJF4smVXa 4y7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d77zuTOM; 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 a9-20020a656549000000b00378973cf263si4849177pgw.226.2022.03.10.06.54.34; Thu, 10 Mar 2022 06:54:52 -0800 (PST) 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=d77zuTOM; 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 S237402AbiCJIyR (ORCPT + 99 others); Thu, 10 Mar 2022 03:54:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231153AbiCJIyQ (ORCPT ); Thu, 10 Mar 2022 03:54:16 -0500 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B70F0137021 for ; Thu, 10 Mar 2022 00:53:15 -0800 (PST) Received: by mail-yb1-xb2b.google.com with SMTP id g26so9497458ybj.10 for ; Thu, 10 Mar 2022 00:53:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bD08i1b1Z+a0jckACUWyZF49FUKoI95aym7BAJB81+4=; b=d77zuTOMdWadP7QTexmBQhpN40kO9TgLiGdMXSZntTvlXCspc7CzVF1/iqV/ZhlCaR ytTvDiCt2AtGr7bw0sZKGQn4ljSwnKvlzmgzKC/6VAolV0p6K/Xh2H6UaLJ2NnuQIIqI TqK7dNe0dO1Jf3nKby0mgdH8xo6FqOgYaVhQTLvddmli64sHcWV/jOIoS1uLGOBft5+Z AKYXl4hCUQwH1TJ0+UyZcbS5D3JgtXGJy3i4P3mxduAEFJ0wCgW/N6azFGj4mvGfR5Wa QcJoFYUvSwLHT7RVg7L/5+MTROxcrTNJMXqxlIbldRKKti5Zj3yXSaGQjfufMTAiRzHr kCTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bD08i1b1Z+a0jckACUWyZF49FUKoI95aym7BAJB81+4=; b=zUvqLIGfzgmKVZNk7BsoTPKHajZcmQuHoDb5YMaEoF9Px25vzGWl7F+JNvI8WsnxDs 6UEPGmMTJDZqDnwZOGFuDtIrwKtM6PgtKCgDysiP16Djle085XZlDHWI3Ml7ZKvrHaHa UAOlC66juQeEdAu5qtGQsJdJSlslm9DqpcwuA4PvvTdVFwg9P47vpkBPZ0Xm3L5Z5cd/ wyu01YBeeEI8pTWcl9j0CcWled/HIxjvUfWWHP68g45NLrRLMTqckM4yor2RlDBBy16e iuwvVCEgNFmV7aFeFFHXXX3CL/lw74C3jZGrhL8FX9KX1XyJT29QnmwGntB5ScQYjw7N 4ZXA== X-Gm-Message-State: AOAM533OfKxQR2I5G4bMc2BlE9NfizBXp616Laohmecub2lp/o/nd8ru CV1Cq6eenZbkpASfczTDKz9WFVS2ZjGdkBTRjF7dkQ== X-Received: by 2002:a25:da85:0:b0:629:36f:5669 with SMTP id n127-20020a25da85000000b00629036f5669mr2988219ybf.492.1646902394927; Thu, 10 Mar 2022 00:53:14 -0800 (PST) MIME-Version: 1.0 References: <20220303173935.100622-1-cmirabil@redhat.com> <20220303173935.100622-7-cmirabil@redhat.com> In-Reply-To: <20220303173935.100622-7-cmirabil@redhat.com> From: Linus Walleij Date: Thu, 10 Mar 2022 09:53:03 +0100 Message-ID: Subject: Re: [PATCH v7 6/6] DO NOT MERGE: full sensehat device tree overlay for raspberry pi 4 To: Charles Mirabile Cc: linux-kernel@vger.kernel.org, Serge Schneider , Stefan Wahren , Nicolas Saenz Julienne , Mattias Brugger , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, fedora-rpi@googlegroups.com, Mwesigwa Guma , Joel Savitz 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,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 Thu, Mar 3, 2022 at 6:43 PM Charles Mirabile wrote: > This patch should not be merged - dtbs files are not stored in the > kernel tree. We just provide this file so the code can be tested. A problem with that approach is that the DTS files are not reviewed and that causes quality problems, and another problem is that the kernel lack examples of real-world systems so people have to scout to find those and that costs developer time. I know many people are opposed to having this kind of stuff in the kernel tree, but I am *for* having this kind of stuff in the kernel tree. Mainly because there is no working community to shepherd it otherwise, while we (the kernel maintainers) are still dependent on there being one. > + lsm9ds1-magn@1c { > + compatible = "st,lsm9ds1-magn"; > + reg = <0x1c>; > + status = "okay"; > + }; > + > + lsm9ds1-accel@6a { > + compatible = "st,lsm9ds1-accel"; > + reg = <0x6a>; > + status = "okay"; > + }; These should typically have mounting matrices. I doubt they are mounted according to the identity matrix, because electronics designers usually have other concerns when layouting PCBs. See Documentation/devicetree/bindings/iio/mount-matrix.txt Yours, Linus Walleij Yours, Linus Walleij