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 F14EDC433EF for ; Sun, 10 Apr 2022 08:48:11 +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:MIME-Version:In-Reply-To:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=P9DYQDiPuVkfPv4vxwFHF+vG2Xw+U9qM+6GdMYRz3GY=; b=2Fx/cB9Murle9a USZEo72nKvztsqDZc3pLyCFIhPef0/TDd95HVnS7KW5vZ5TnhzdzFBjCL2/Mg99cqCHLJ73tnH1Wm EFLXBeIHi5117aVYoo23YedQ8TWTdI1vNLKj5Fh9LGV/1MYZng1CRZQ05P1wek53kmvpnk70pLdG7 uDHFvBaL5l4qR7NvDzzlptj9VJgA7Kjpn5WBNuPil9+fjN31kQ1cQTJEmiKvqSkO7BsCZQ294Eo3h Ke1aPRGa8SqGyrLXSrsTWFJUmTJvB/LYvJEHfor5r0eXv2ZGvveQZ1dc2j0ljKXx9TZULNB5yVaKL RGhI0Yv2H2ZGAFoe2Qyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndTDa-004WhO-LP; Sun, 10 Apr 2022 08:46:46 +0000 Received: from mail-zr0che01on2072e.outbound.protection.outlook.com ([2a01:111:f403:4023::72e] helo=CHE01-ZR0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndTDX-004Wgz-Ri for linux-arm-kernel@lists.infradead.org; Sun, 10 Apr 2022 08:46:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WPrrNzvpPxOdb1aOIDCtQjYvG/dRSVSizETFYRG5404FGxsfaWO2U9Kl2yBYiXxF8XRHtBAneqF7XaXa2/XI74JCj6iwL3rWE9s9SyVQ4OBJHqsSEKkEvCOfW34hUMUAn4K8j0yOxr8qDBJuHDJnehwIhC3IU95D4x7ah0AH/eLCXFMabL/WvpV3gcdQSLm5geyA8fpW5DkyoqnGbgKNu7JWlshRfDL94SwktRdqlzntdRWWQVowfe490sdTFM2V0aSluoqFEM5xJMeeA7z2T3k26Ay2PMnehwHQ2xsG6W0onX5S1F1YUVRb7oSPty9yabv/I33lE7s8TFf8gUWBhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hMwXiVby8/v3DT1LEMPG/Dh9esvTk9JeQcY1YokKGzs=; b=YC5U/XT2fzptP1YZq0ihB7aQiUhpy5fZ74QZundTWnMcRxMFh6ZFnZw6hiUuzG+htiRPQnui1VY2IrrL7nNN0kG8BApqJ3lfrcgWp7bDXk5QxcJsv6gX9rS6JaFIftmvv/1JRYagBOtI8FWCxnouOsJMl4zhjBRGDPS9o5sRvxwQgXKf+Rxsk6hkLWJbDZwqf5ADUeuGUPU4TuQJOQB6ex2xp1KsUl/O374ZUhS8L+CLeX6BFTuwmCd3iAjT63LRosIHUxK3YlpF4Xvu0nxJiohmKpAiOEkfep3RCZwsPBSFGKD1Iv4U9TevKzHSSXh/b6iKVbNVm8L7ojN38eP3kQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=toradex.com; dmarc=pass action=none header.from=toradex.com; dkim=pass header.d=toradex.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hMwXiVby8/v3DT1LEMPG/Dh9esvTk9JeQcY1YokKGzs=; b=WptWv9S3EXCjWyoATUju6fT5OKkSk5gbjxesgjgbXndefOwsmwU20Zz5urFCQjPSXMStWx+9ALwiGDTKp5/njhPuYPeioMLufSjVOD2Mt1Qjvt5/FNtn94xupQpsoXtOmh4+PS4genFm8EkCwQX5MsJHhDT+1J2G2D2nC3gJg3k= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=toradex.com; Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) by ZR0P278MB0620.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:3b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.28; Sun, 10 Apr 2022 08:46:37 +0000 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::f465:3051:c795:3c2]) by ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::f465:3051:c795:3c2%7]) with mapi id 15.20.5144.029; Sun, 10 Apr 2022 08:46:37 +0000 Date: Sun, 10 Apr 2022 10:46:36 +0200 From: Francesco Dolcini To: Marek Vasut Cc: Francesco Dolcini , linux-arm-kernel@lists.infradead.org, Fabio Estevam , Marcel Ziswiler , Peng Fan , Shawn Guo , NXP Linux Team Subject: Re: [PATCH 2/2] arm64: dts: imx8mm: Add i.MX8M Mini Toradex Verdin based Menlo board Message-ID: <20220410084636.GB115930@francesco-nb.int.toradex.com> References: <20220407202456.244917-1-marex@denx.de> <20220407202456.244917-2-marex@denx.de> <20220408064657.GA80730@francesco-nb.int.toradex.com> <55a1e747-9b6e-98da-969c-7592b29a293b@denx.de> Content-Disposition: inline In-Reply-To: <55a1e747-9b6e-98da-969c-7592b29a293b@denx.de> X-ClientProxiedBy: MR1P264CA0017.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:2e::22) To ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8fcdfc31-cff4-4555-f261-08da1ace9ffb X-MS-TrafficTypeDiagnostic: ZR0P278MB0620:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rXFmRWrTOFJjH3A4xT4VnGT2Tv4tCayLcZKWz28rt+9mudM7fDFtoy+goJ0WTB3IYZgygP1cCgb3wRibnrB+QlReQ+eBKzW+HmFDM9bnvtl4M9dKQ/S+mHgWcdg319hLuPJ8cDw0wOo/r777dnQL6JnoMN6CRpLSbnwQ8/nne3lWvfaxTCm/QHcQ6XgBwjUDqMhtLOI5mPZVCy/WmGPIx/bUQo1qCpCpvDypdiy0o+YXBMfCCJMJyADBaUj8BS4338VjY1jFxKTwdvYpW0o5S6c5N6TFqLARDEOr/ZF+kVjg9KV0ZUhbDQIYzdbN1nHNSaBJGNrHMHBXVW6MwhokJiVNikDanU+rV1jocCM4txY6Ph4Geti7nFZVVMBf0w9AokA76xwFTfe4PEJJaUvdQBj4DKFrLtlXoIJoejM8jY4JPhj9e0+2l2d971/odppXNGLznbZ1MSGYlKgg1isb81j4Ae3jPEx1uxI56AGpy2KAHGz4WWNCDAJi/3DoGLOn66cq5iIDytLdrVkhhLFV6XI0DMSHlRT5kApkd/olY+adYd5W7+EIU0hZ9YWsHX5la/tMAqk5vz+UvuMbDlAm91F3hecpA0Z/rdByoDxVpYeayDr3gSQesIQbsfaE3NXzo0mAhCPbO1b65sPlGs2ydCX5/5C1kVE+5Ki/xvizcxNq/kYc4P+soaIpLafqoALcKIX98WW9Qx72xYOcOdb4x42BhTY0aD+1ix0EDPjYWfc= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(346002)(33656002)(5660300002)(6506007)(2906002)(44832011)(26005)(186003)(83380400001)(38100700002)(508600001)(8936002)(6486002)(1076003)(86362001)(38350700002)(6512007)(52116002)(4326008)(66946007)(66476007)(66556008)(8676002)(54906003)(316002)(6916009)(53546011)(32563001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?1ejg4cdjiJKkxo5DM3J23jORQ72HxGqI2/04MDfzgfznfROtHuGsu/tY3yo4?= =?us-ascii?Q?IDOAnTHSWN59u5e2KKlvsXWSNogk2qHdKWDkH3hD/HU4+y8OF/l/rGRre6bc?= =?us-ascii?Q?n+gA0WTFndCFN6uTwNDR6q+Vcd7Yc8zSk5QOhgKxDm/8QI23f3/4IHaHsqJx?= =?us-ascii?Q?Xpluzm1w/gNVN6eE9XupW3/2VBTe+oXke67q6ZCtpEth5nag9NBw2UU9MmQz?= =?us-ascii?Q?oIQY7ISPN/MGlCWxRKyCrQRMM+YSLOA5zfxuQ704JYmz/Adj4mCQicfq1KlG?= =?us-ascii?Q?dYPJe6xxkueHDNcJs568b4wCIKRvfpe49hFursCvm2sanrYblb0zQpmDxY8M?= =?us-ascii?Q?MSRFFFw+JqIBs+ypZ3xYCnA9/8S4CUj92IohTb60Bi1rnECAcKdIFDQ6vTyw?= =?us-ascii?Q?lNbe5VfJ8I1CieaRLTNEJYl9bbZPoINvY6sLocbep7y4H1z+NIFee11QHY55?= =?us-ascii?Q?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mpYvwh+vCcuw?= =?us-ascii?Q?5I8LUZd3i3/AxobcPZuCJv/b8lvr5oE1z9u9xwBGXX/3ARorB6CzaF7E4kcU?= =?us-ascii?Q?dyKtc8Nj6SlAWLe9mCDeQEHbKeOU5Z+OzEo+AtcZ23FOnmw8fiNHBwpQ5Svu?= =?us-ascii?Q?lQvBPs1F5w9GcU+nNrthA3ekdIH3pCSmaMZlWYZAL8si6G7TtBAeWpFZNqOX?= =?us-ascii?Q?h4u6T0DVcKUf9gv07bzSYMMxXDQxu+dR47LVWDz543GqEyt2cMG4GWAYvsAL?= =?us-ascii?Q?XQ+QzjsY0bVwXF0LVCUzmyqtpddt3mrI77GNCkWgG+d5hXDeHqQ0Uc31HS0c?= =?us-ascii?Q?ZtVZPzQ8rdSOKRTAaDBUUG10XZRFR32/An1irucU22IxdMelqgiOcdkpCkV2?= =?us-ascii?Q?8hhzFDzqhlniO1IIprmeuUOi4496Nb4=3D?= X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8fcdfc31-cff4-4555-f261-08da1ace9ffb X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2022 08:46:37.6801 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iOOC1rg9Bh8ks9jWKkZfRlsjcAQeGXg+0qFgrmg3ExjFgytY4InENPKgKPDg9C497gdnlvDICHRuunwXqPKY8vIUIhKsYQ5PVAtFnJglJYs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZR0P278MB0620 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220410_014644_139227_BD866DAB X-CRM114-Status: GOOD ( 25.96 ) 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 Fri, Apr 08, 2022 at 05:02:15PM +0200, Marek Vasut wrote: > On 4/8/22 08:46, Francesco Dolcini wrote: > > > + /delete-node/ gpio-keys; > > would it be better if we had a label in the imx8mm-verdin.dtsi and we > > could just set status=disabled here? > > It would be better if there was Verdin SoM dtsi and Verdin carrier board dts > which includes the SoM dtsi. Right now, it seems these two things are > conflated a bit. > > There are no GPIO buttons on the Verdin SoM, there are some on the Dahlia > carrier board I think. The GPIO keys, for example the suspend button, are part of Verdin family SODIMM connector pinout/definition (see related datasheets). In the SoM dtsi we implement our standard family definition. Of course, you are free to redefine this in any way you prefer. In general the way we envision this is to just enable/disable in the carrier board or overlay dts, this is the reason I proposed to add a label there. I do not see any real value on deleting the node at all, just some potential for additional maintenance burden. > > > + /* CAN controller on the baseboard */ > > > + canfd: can@0 { > > > + compatible = "microchip,mcp2518fd"; > > > + clocks = <&clk20m>; > > You are using the node defined in the verdin.dtsi here, while I guess > > this is a separate oscillator part of the carrier board. > > > > Should you define a new clock? My concern is that we had discussion to > > change the SoM to move from 20 to 40 MHz, and we would remove this entry > > from the dtsi if we would do such a change. > > Is the 20 MHz oscillator on your SoM or on the carrier board ? In the SoM, not available on the SODIMM connector. Your clock if for sure not this one. > > > +&i2c4 { > > > + /* IMX8MM ERRATA e7805 -- I2C is limited to 384 kHz due to SoC bug */ > > > + clock-frequency = <100000>; > > > + /delete-node/ bridge@2c; > > > + /delete-node/ hwmon@40; > > > + /delete-node/ hdmi@48; > > > + /delete-node/ touch@4a; > > > + /delete-node/ hwmontemp@4f; > > > + /delete-node/ eeprom@50; > > > + /delete-node/ eeprom@57; > > All of those are disabled in the dtsi, is it really worth deleting the > > nodes? > > They are not present on the hardware, why should they be described in the DT > ? Hence the /delete-node/ . Not 100% correct (see the SoM datasheet), anyway is this causing you any real trouble having those nodes disabled instead of removed from the dts? I assume nor the file size nor the parsing time are an issue there. Of course, not a big deal for me you removing this nodes in the menlo dts, but in general I'm happy to make your life easier when using our som dtsi file, this is the reason for asking. Francesco _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel