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 CEBE7C19F2D for ; Thu, 11 Aug 2022 10:50:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234229AbiHKKuS (ORCPT ); Thu, 11 Aug 2022 06:50:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233856AbiHKKuQ (ORCPT ); Thu, 11 Aug 2022 06:50:16 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA51BE29 for ; Thu, 11 Aug 2022 03:50:14 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id l10so14304284lje.7 for ; Thu, 11 Aug 2022 03:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=GdgqiZBfPIDpg/0XLqydNQp/hkRsk27jfUbq0hJePtg=; b=X1sOG4x9fMmz51abok9SE1Ca6DqFWsew9xPmWQaF4tV67GAbU7ERN8UF25AtDT8ppm ENrw4iirJ98N+J03JV9ebyS/Y9029T9+xAT/ObxREloELVVYocyVk4LgLqPmIn9rHtKP M1iaCn74q3+sYIO+lMswRWt8UZWxTYh4Z7UG79kL4oX+T7iIjAx8gRWsUaKO0B3aU2NP 8Vol9//rVjsCWKsC5pTejKO4JG3wGTnw5hNC30jrL4yRPPAITOjfP0aZhbjv7O05geeL oPzPR/EJVDB2p8BtTW7JcYHIvAsA1ISrHU+6jph+0meHNwMIZ/18xO7BlUD3Z8g1+8Ao ZFxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=GdgqiZBfPIDpg/0XLqydNQp/hkRsk27jfUbq0hJePtg=; b=6GwJsiB8IoseakHHCMjyKAfEVKE+Zh4d7UqvNJtayNgLeNppfR8hmlyONtBzC+yRwQ GmIKfsvnZ0PQv/4bnnSomZOAUsLQaQzSgMXNQ0RWiCQlx4qIVsgbni1aMaEKCcca8K+e kch1X/QedmMI6uicdOqFoVSbry6e0pnWLDlRLq/y7GHhmfe0yenrYOXkWKeAlkU6ncsp +GB7wbGtabvqU9KE0cNZoufixv/ycxKfgKbR8Fyk/L013YqG3Jd35g+4/wxNxxAxqTRk GZ5PpwVyQ3LMJMSvk1jZFYvtOG8WK9X7/U0VyseXD5zBCMb4qrky8tB+WQRfblJHZ0zD gMcQ== X-Gm-Message-State: ACgBeo1Ggu0zSOVFHxiqn0kO45OR/IToNJCOE0U3Ky0QxpFkOlcMhfP+ j0R+Ztodpz1qYKtIEVv9lCb2Zw== X-Google-Smtp-Source: AA6agR4hd28Wh6s8G5kRM4zOdEwX9i78Sjkjyx5T1pLILHB44dabc9d/NooBeZ8cqu7k0z4g5NxdBA== X-Received: by 2002:a05:651c:b10:b0:25f:ddb7:694 with SMTP id b16-20020a05651c0b1000b0025fddb70694mr6098335ljr.75.1660215013234; Thu, 11 Aug 2022 03:50:13 -0700 (PDT) Received: from [192.168.1.39] ([83.146.140.105]) by smtp.gmail.com with ESMTPSA id t8-20020a199108000000b0048af39ff3edsm664335lfd.122.2022.08.11.03.50.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Aug 2022 03:50:12 -0700 (PDT) Message-ID: <3a4eb13d-f764-f32d-02a5-38f62ce2a3f2@linaro.org> Date: Thu, 11 Aug 2022 13:50:11 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH v2 2/3] ARM: dts: imx6ul-kontron: Simplify devicetree structure Content-Language: en-US To: Frieder Schrempf , Arnd Bergmann , devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Olof Johansson , Rob Herring , Sascha Hauer , Shawn Guo , soc@kernel.org Cc: Frieder Schrempf , Bjorn Andersson , Denys Drozdov , Dmitry Osipenko , Fabio Estevam , Joel Stanley , Konrad Dybcio , Luca Weiss , NXP Linux Team , Pengutronix Kernel Team , Thierry Reding References: <20220810081825.19051-1-frieder@fris.de> <20220810081825.19051-3-frieder@fris.de> From: Krzysztof Kozlowski In-Reply-To: <20220810081825.19051-3-frieder@fris.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/08/2022 11:18, Frieder Schrempf wrote: > From: Frieder Schrempf > > There is no need in differentiating between the different SoM versions > that only differ in memory size, etc. It's much cleaner to simplify > the devicetrees and let them be more generic. > > If necessary the bootloader will update the devicetree dynamically > to contain the correct size of the memory. > > We also get rid of the N6xxx notation in the compatibles and file > names, as they are not really used anymore and often result in > confusion. > > Signed-off-by: Frieder Schrempf > --- > arch/arm/boot/dts/Makefile | 4 +- > ...6310-s-43.dts => imx6ul-kontron-bl-43.dts} | 8 ++-- > ...x-s.dtsi => imx6ul-kontron-bl-common.dtsi} | 0 > ...tron-n6310-s.dts => imx6ul-kontron-bl.dts} | 9 ++-- > .../boot/dts/imx6ul-kontron-n6310-som.dtsi | 41 ------------------- > arch/arm/boot/dts/imx6ul-kontron-n6311-s.dts | 16 -------- > .../boot/dts/imx6ul-kontron-n6311-som.dtsi | 40 ------------------ > ...mon.dtsi => imx6ul-kontron-sl-common.dtsi} | 15 +++++++ > arch/arm/boot/dts/imx6ul-kontron-sl.dtsi | 14 +++++++ > arch/arm/boot/dts/imx6ull-kontron-bl.dts | 15 +++++++ > arch/arm/boot/dts/imx6ull-kontron-n6411-s.dts | 16 -------- > .../boot/dts/imx6ull-kontron-n6411-som.dtsi | 40 ------------------ > arch/arm/boot/dts/imx6ull-kontron-sl.dtsi | 13 ++++++ Most of these should be renames with small amount of changes. You should experiment with -B/-M/-C format-patch arguments so the end diff is easy to read. Best regards, Krzysztof 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 65806C19F2A for ; Thu, 11 Aug 2022 10:51:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YnTyIgK0jInsFfweOFPVtS6q1BMkbnzJ7dJjvtoWU6Y=; b=rLuqxM/RQ/h15k +kBm2GSY2rC/rHjYJl2FwZebwMg8F3Aql4e7uU3yH37AmoOXkdI6LbeuKYeukHxBExemW1FSAONLP znoaIRtRq0RoNuXl/CXE7VARPYtOfyrovnjYQizEkcSu6TfKBf8/eX7XTQ5YvSF75tJ5zF8DNXSfz 91tpLh61w8Sm/GQeWnGNdyVYVeeviyvCL5gBgpkHRw4mT4saWFs29+Lqcryn99Y8uWmsjcjQ605XX JoiGldbafnJ/+yKOJqTzOO7jHKTikQu6Gb5cy/cA4WB1WeGdz3Sd/eWbKqLyoAhTbPAkr4SaxwZUq QlpEVnxxHELRtzURVdiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oM5la-00BLys-IY; Thu, 11 Aug 2022 10:50:18 +0000 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oM5lX-00BLwK-2N for linux-arm-kernel@lists.infradead.org; Thu, 11 Aug 2022 10:50:16 +0000 Received: by mail-lj1-x235.google.com with SMTP id bx38so18870789ljb.10 for ; Thu, 11 Aug 2022 03:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=GdgqiZBfPIDpg/0XLqydNQp/hkRsk27jfUbq0hJePtg=; b=X1sOG4x9fMmz51abok9SE1Ca6DqFWsew9xPmWQaF4tV67GAbU7ERN8UF25AtDT8ppm ENrw4iirJ98N+J03JV9ebyS/Y9029T9+xAT/ObxREloELVVYocyVk4LgLqPmIn9rHtKP M1iaCn74q3+sYIO+lMswRWt8UZWxTYh4Z7UG79kL4oX+T7iIjAx8gRWsUaKO0B3aU2NP 8Vol9//rVjsCWKsC5pTejKO4JG3wGTnw5hNC30jrL4yRPPAITOjfP0aZhbjv7O05geeL oPzPR/EJVDB2p8BtTW7JcYHIvAsA1ISrHU+6jph+0meHNwMIZ/18xO7BlUD3Z8g1+8Ao ZFxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=GdgqiZBfPIDpg/0XLqydNQp/hkRsk27jfUbq0hJePtg=; b=ozjdzLSAaTvBwxEPIvtEqzg8TGlHKoI9kGcz3broTRfhicOzeciar0BVKC+FhCo9FJ /a0NLraOTTuGF41VNio4NfexPWA0+MJE0VpqP4SihCm/52vvgjdqm4EbhZ0oNpG/+ZRh p0edRPxhYNKCo9JilI8gPvIgyNhcBLvOqMEoQjplH/FznPe7bLiRAOD/WTjdUAn06lVk h4JhDQMkfcsD8CUnCyW7F5dB4zpdSliiwldneOW9oEvHInpojMGbN7iCrkqCPpAi/RVA Xjyi6rIoFnYZZCCJSkAHRmeVhiVv4wSzxt3QZDHzuKjQjsySSXgj3m1/DBmb7OyXImV9 4/Zw== X-Gm-Message-State: ACgBeo3c0yaS6/zOfdwbFSDk/T4G36kLfTsNGIBChJa6oxd6DxK2wshJ BJU3CSszFfCIGaYKKzVpnNcEMg== X-Google-Smtp-Source: AA6agR4hd28Wh6s8G5kRM4zOdEwX9i78Sjkjyx5T1pLILHB44dabc9d/NooBeZ8cqu7k0z4g5NxdBA== X-Received: by 2002:a05:651c:b10:b0:25f:ddb7:694 with SMTP id b16-20020a05651c0b1000b0025fddb70694mr6098335ljr.75.1660215013234; Thu, 11 Aug 2022 03:50:13 -0700 (PDT) Received: from [192.168.1.39] ([83.146.140.105]) by smtp.gmail.com with ESMTPSA id t8-20020a199108000000b0048af39ff3edsm664335lfd.122.2022.08.11.03.50.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Aug 2022 03:50:12 -0700 (PDT) Message-ID: <3a4eb13d-f764-f32d-02a5-38f62ce2a3f2@linaro.org> Date: Thu, 11 Aug 2022 13:50:11 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH v2 2/3] ARM: dts: imx6ul-kontron: Simplify devicetree structure Content-Language: en-US To: Frieder Schrempf , Arnd Bergmann , devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Olof Johansson , Rob Herring , Sascha Hauer , Shawn Guo , soc@kernel.org Cc: Frieder Schrempf , Bjorn Andersson , Denys Drozdov , Dmitry Osipenko , Fabio Estevam , Joel Stanley , Konrad Dybcio , Luca Weiss , NXP Linux Team , Pengutronix Kernel Team , Thierry Reding References: <20220810081825.19051-1-frieder@fris.de> <20220810081825.19051-3-frieder@fris.de> From: Krzysztof Kozlowski In-Reply-To: <20220810081825.19051-3-frieder@fris.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220811_035015_166112_D489DF85 X-CRM114-Status: GOOD ( 18.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 10/08/2022 11:18, Frieder Schrempf wrote: > From: Frieder Schrempf > > There is no need in differentiating between the different SoM versions > that only differ in memory size, etc. It's much cleaner to simplify > the devicetrees and let them be more generic. > > If necessary the bootloader will update the devicetree dynamically > to contain the correct size of the memory. > > We also get rid of the N6xxx notation in the compatibles and file > names, as they are not really used anymore and often result in > confusion. > > Signed-off-by: Frieder Schrempf > --- > arch/arm/boot/dts/Makefile | 4 +- > ...6310-s-43.dts => imx6ul-kontron-bl-43.dts} | 8 ++-- > ...x-s.dtsi => imx6ul-kontron-bl-common.dtsi} | 0 > ...tron-n6310-s.dts => imx6ul-kontron-bl.dts} | 9 ++-- > .../boot/dts/imx6ul-kontron-n6310-som.dtsi | 41 ------------------- > arch/arm/boot/dts/imx6ul-kontron-n6311-s.dts | 16 -------- > .../boot/dts/imx6ul-kontron-n6311-som.dtsi | 40 ------------------ > ...mon.dtsi => imx6ul-kontron-sl-common.dtsi} | 15 +++++++ > arch/arm/boot/dts/imx6ul-kontron-sl.dtsi | 14 +++++++ > arch/arm/boot/dts/imx6ull-kontron-bl.dts | 15 +++++++ > arch/arm/boot/dts/imx6ull-kontron-n6411-s.dts | 16 -------- > .../boot/dts/imx6ull-kontron-n6411-som.dtsi | 40 ------------------ > arch/arm/boot/dts/imx6ull-kontron-sl.dtsi | 13 ++++++ Most of these should be renames with small amount of changes. You should experiment with -B/-M/-C format-patch arguments so the end diff is easy to read. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel