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 C509BC7EE23 for ; Mon, 27 Feb 2023 14:39:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230055AbjB0Ojg (ORCPT ); Mon, 27 Feb 2023 09:39:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229814AbjB0Oje (ORCPT ); Mon, 27 Feb 2023 09:39:34 -0500 Received: from mx.sberdevices.ru (mx.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A4F41B330; Mon, 27 Feb 2023 06:39:32 -0800 (PST) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mx.sberdevices.ru (Postfix) with ESMTP id 2034E5FD19; Mon, 27 Feb 2023 17:39:30 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1677508770; bh=tYgZUWm19uKbwUi7eTlgHZOmZ/p94X0Fb1vTQ3q8QDQ=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=fHlj3/t6cedaewXNtoScUPJQNeVSSLA5b0RZI4JxTfCognayaE5GnWEjd82ysxbSQ j97FRx2+VgQVqjx/npe+pxYjPBhzH25/x/gaewwdgC+hvNOBjrNxQOXgJrcOfAdlQC q6xBxEG4SZqbfKORd/x1JFkKSNCPq+06XmEcbUOOdX/OLYfJE3pEpyyR3c7E9Y2Eji kGdbCsivU7ZaUOoNphiO+D4XlK/VYSxKMXa2v35wp9u3UQ3D0Px1RIqjO6LdVnpjti gYnAXFYwTfEJ6+T8g+Ep93X7bzZAZ9oXmjfTwS238FE0B9SSgmBGIkgqLapeKwzDak FJhI/M9vBmrPw== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mx.sberdevices.ru (Postfix) with ESMTP; Mon, 27 Feb 2023 17:39:29 +0300 (MSK) Date: Mon, 27 Feb 2023 17:39:29 +0300 From: Dmitry Rokosov To: Krzysztof Kozlowski CC: Alexey Romanov , , , , , , , , , , , , Subject: Re: [PATCH v1 3/3] arch/arm: dts: introduce meson-a1 device tree Message-ID: <20230227143929.h2lppesdiaj7l3gn@CAB-WSD-L081021> References: <20230222115020.55867-1-avromanov@sberdevices.ru> <20230222115020.55867-4-avromanov@sberdevices.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20220415 X-Originating-IP: [172.16.1.6] X-ClientProxiedBy: S-MS-EXCH02.sberdevices.ru (172.16.1.5) To S-MS-EXCH01.sberdevices.ru (172.16.1.4) X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2023/02/27 12:14:00 #20900843 X-KSMG-AntiVirus-Status: Clean, skipped Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Krzysztof! On Thu, Feb 23, 2023 at 10:09:25AM +0100, Krzysztof Kozlowski wrote: [...] > >> describes following compontents: CPU, GIC, IRQ, Timer, UART, > >> PIN controller. It's capable of booting up into > >> the serial console. > >> > >> This is based on arm64 version of meson-a1.dtsi. > >> > >> Signed-off-by: Alexey Romanov > >> --- > >> arch/arm/boot/dts/meson-a1.dtsi | 151 ++++++++++++++++++++++++++++++++ > > > > There is such file and there is such DTS/hardware support. I don't see > > any reason why entire DTSI should be duplicated. What's more, your > > commit does not explain it - does not justify duplication. > > One more comment - I think you just added dead code. It's > uncompilable/untestable. Otherwise, please share how to build this DTSI > without DTS. You are right, Alexey doesn't provide any exact *.dts file for any board, and *.dtsi file should be included somewhere, otherwise this is dead code. Unfortunately, our internal board *.dts file is useless for kernel community, cause there is not any chance to burn locally compiled kernel to our product due to secureboot protection. But I think there is one possible option. We have reference Amlogic boards somewhere in the office. So we can test 32-bit configuration on it and prepare proper *.dts file for that. What do you think, it reasanoble? -- Thank you, Dmitry