From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20521C32772 for ; Tue, 16 Aug 2022 09:55:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234078AbiHPJy4 convert rfc822-to-8bit (ORCPT ); Tue, 16 Aug 2022 05:54:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234120AbiHPJx4 (ORCPT ); Tue, 16 Aug 2022 05:53:56 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B37312AD9; Tue, 16 Aug 2022 02:12:17 -0700 (PDT) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oNscI-0002ox-1h; Tue, 16 Aug 2022 11:12:06 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Samuel Holland , Chen-Yu Tsai , linux-sunxi@lists.linux.dev, Palmer Dabbelt , Paul Walmsley , Albert Ou , linux-riscv@lists.infradead.org, Krzysztof Kozlowski Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Jernej =?utf-8?B?xaBrcmFiZWM=?= Subject: Re: [PATCH 06/12] riscv: dts: allwinner: Add the D1 SoC base devicetree Date: Tue, 16 Aug 2022 11:12:05 +0200 Message-ID: <3881930.ZaRXLXkqSa@diego> In-Reply-To: <5593349.DvuYhMxLoT@jernej-laptop> References: <20220815050815.22340-1-samuel@sholland.org> <149eee7b-a9e9-94ad-1ab2-13812b541a8c@linaro.org> <5593349.DvuYhMxLoT@jernej-laptop> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, 16. August 2022, 09:49:58 CEST schrieb Jernej Škrabec: > Dne torek, 16. avgust 2022 ob 09:41:45 CEST je Krzysztof Kozlowski napisal(a): > > On 15/08/2022 08:08, Samuel Holland wrote: > > > + > > > + de: display-engine { > > > + compatible = "allwinner,sun20i-d1-display-engine"; > > > + allwinner,pipelines = <&mixer0>, <&mixer1>; > > > + status = "disabled"; > > > + }; > > > + > > > + osc24M: osc24M-clk { > > > > lowercase > > > > > + compatible = "fixed-clock"; > > > + clock-frequency = <24000000>; > > > > This is a property of the board, not SoC. > > SoC needs 24 MHz oscillator for correct operation, so each and every board has > it. Having it here simplifies board DT files. I guess the oscillator is a separate component on each board, right? And DT obvious is meant to describe the hardware - independently from implementation-specific choices. Starting to discuss which exceptions to allow then might lead to even more exceptions. Also having to look for a board-component in the soc dtsi also is surprising if one gets to the party later on :-) .