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 E954EC433F5 for ; Mon, 23 May 2022 12:24:14 +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:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9zrX3TSB2V7MRsZX7kLs3eRQGJ5KULZSWlo2vaN3JCU=; b=2XGjxesBOcjue5 rcwiSoDkCLcbax9iny0yqa0/nUN3t7NsSDWV40WzIyazrSlb7pdSnFyEYy9ohKFYU7HzjDSkhKkNA CXhtpvXWrPZ2FcO5X03HjTtjUjXtyoVjGKyodckjpMeo0Gv2NTzNvWn/tV7JcNsbTiSSbfdfy3+Zi Qp30NaKAKf/cSzvZHaRdm4kZo6AL6nZW6c1vNxnqI5Qn7dbRtQ5z0Q6LOFc1SeFuCc0b4KAWbAK5p wyGfSJ3xSsdBzAQi7SwNIojn62o069PDXpiX2TVBI21jL6aRlKewdVQxSZIySTRxFxAAGpCN7KIbE Vgxf+h/wdlMq4AZ/wqqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nt74o-0045QA-8O; Mon, 23 May 2022 12:22:23 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nt6TL-003o9S-5r for linux-arm-kernel@lists.infradead.org; Mon, 23 May 2022 11:43:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1653306219; x=1684842219; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TtqYqQa8EpPp+tew9FBCANBhOveBOSBluwnDEbyPEWg=; b=FnLHoi4Qvc5nXw7IPwmxE3w4RjOTre26DegyQTA+JOmUKFsw2yf0CEoV DFQeqk0kLDPMwfaoQN8rBhaKNIjeD4DX6298NiyU1CEEkz1q3h3y3RNI4 nUzUDR8FAHglUMVVKezJtQwsZW6e5X4to0hWSQm+x1/yoWUrmETeveEbP dpLhUiO8fQRw/64iwOlItHmPrSZb6I03MKpOVXe/aRPkXCoGJ/oC+E+5w Du3eFs5BRsYrfQ+ULifHXpsDMmqhT+uwfUByNt+Buk9WmrRECcTof0iok NfJehD7MamdO0Z2DOl2LqFx4PcBRAx60zHDoH6rrPJFMzLozXfPT4KwhI g==; X-IronPort-AV: E=Sophos;i="5.91,246,1647298800"; d="scan'208";a="24032537" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 23 May 2022 13:43:37 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Mon, 23 May 2022 13:43:37 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Mon, 23 May 2022 13:43:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1653306217; x=1684842217; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TtqYqQa8EpPp+tew9FBCANBhOveBOSBluwnDEbyPEWg=; b=hD8GNW1VZkdsJgF+hefbqVMwR+M1WR3F5tsdnlC0snFhMYGV3EJO448N WRlY0RVg/NuRA4MoNeCeFQJuJcVqiynP6HjErFRcHGL6M8uNL0Mo/m1kD /dYXUtjHXZrkJI/smoZ9ARJhJSDse0t92b9oegUHqpD9uxd6yQeM+U8JE s6EOz4TqDG9EP4NegTrE8uiYG6Ir6oxOLuuYdpgiwC/NZJIM3Feb00Eif zsoO0fVN/gcYzdjVihybTx5MGz65uDLrXp6urfloCZCAvKw9nsBT1obHT EIkTsz7DNR3mMunp03D5EdCDoqqEXzy8wGDIxc4H9ZX3yMofDLKNI9bGc Q==; X-IronPort-AV: E=Sophos;i="5.91,246,1647298800"; d="scan'208";a="24032536" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 23 May 2022 13:43:37 +0200 Received: from steina-w.localnet (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id E4D76280070; Mon, 23 May 2022 13:43:36 +0200 (CEST) From: Alexander Stein To: Marek Vasut Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam , Peng Fan , Shawn Guo , NXP Linux Team Subject: Re: (EXT) [PATCH] arm64: dts: imx8mm: Add SNVS LPGPR on Data Modul i.MX8M Mini eDM SBC Date: Mon, 23 May 2022 13:43:36 +0200 Message-ID: <4742272.31r3eYUQgx@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <4df03cc1-59b1-3e99-4f1b-4300688db061@denx.de> References: <20220522175723.22472-1-marex@denx.de> <2633469.mvXUDI8C0e@steina-w> <4df03cc1-59b1-3e99-4f1b-4300688db061@denx.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220523_044339_700682_B3307850 X-CRM114-Status: GOOD ( 15.61 ) 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 Am Montag, 23. Mai 2022, 13:18:01 CEST schrieb Marek Vasut: > On 5/23/22 13:08, Alexander Stein wrote: > > Hi, > > [...] > > >> +&snvs { > >> + snvs-lpgpr { > >> + compatible = "fsl,imx8mm-snvs-lpgpr", "fsl,imx7d-snvs- > > > > lpgpr"; > > > >> + }; > >> +}; > >> + > >> > >> &uart1 { > >> > >> pinctrl-names = "default"; > >> pinctrl-0 = <&pinctrl_uart1>; > > > > Shouldn't this go into imx8mm.dtsi? > > No, not everyone uses this register for boot counter or wants to expose > it to Linux that way. This is board-specific behavior. Sure the actual usage of the general purpose registers is very much board- specific. Nevertheless the DT describes the hardware and there is snvs-lpgpr in all imx8mm. IMHO there is no harm exposing those GPR unconditionally. Best regards, Alexander > > (the other SNVS related entries should be in the SoC common file > however, those are SoC-specific). _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel