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 DD9F0C04A94 for ; Thu, 27 Jul 2023 17:57:03 +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:MIME-Version: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=SMHu+JBY6zpL8DvD5wdzV9TBlQFsbSry1gL0GCD6oHE=; b=24GuthfWF/A+jX 3N2CDkGwbV5Qtd/wdSjrkXcYq2NiJ6xUVyA7ZD9ZCSVt705J0pM65zr3N6YAnR9Ret20JEAbnfOR1 nmDQD7ivAThCVTU9GsXSCm/ABBk/xdJi1QHFg7f8UfImwWHqsnYo46zv6+CYWsnwC3BDQF3KHGkSU 7BITE+eYdIqaFYfbTqNhG8u+jgZvyCk4TfC8cPHpUN5GyKcyT0YBPHV/tSSFnr8ZCrQpRk6uSIAWu o7n3ti64EApH35DRbS60D1FusL01UFluzg+SNCJg6CNoWcVcFSZLkUt9UJYvE1J7YifQ0qserv2dP X2BEOIMeoIZzFIovdOUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qP5EB-00HaxN-2I; Thu, 27 Jul 2023 17:56:43 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qP5E9-00HatR-2G for linux-arm-kernel@bombadil.infradead.org; Thu, 27 Jul 2023 17:56:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=+h5b9iSf68eT3e10rX6ZgnouDl7RDMsV+Kj+5zmd2qQ=; b=HxGjyrtIARC6Ag1zA03uk6RaSv qL3DrciesJ7z3y5UP2a8HX0+QofXW8LPyAAfcYYQEeb88h5yKMupdZZmvdM1wagdRScepXcUa9tod 3D3qvkVkkG++MnwYs6ngZHik9j9Ypo8rqYSOzFjOmH/7qNB5E/cqwtTUjazOdID2KOgOQaQYrEP5B c6Qt2aj2G9rW+gTEPz/lJ1o4icsPhIrp99rUS9cHvoFpQcXcky4e3SM+keIPY2BIwb7TRjpY5smRX MTIajuzzqkw7Ea27nxbNvO/sCSFxaq2Zgw0MkcvUtelk8HGJHYWFSXd45xi9w3LnC6q8aIEUurVT6 4eFb2XIg==; Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qP4KS-007BS0-0j for linux-arm-kernel@lists.infradead.org; Thu, 27 Jul 2023 16:59:10 +0000 Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-26814e27a9eso721085a91.0 for ; Thu, 27 Jul 2023 09:59:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690477145; x=1691081945; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=+h5b9iSf68eT3e10rX6ZgnouDl7RDMsV+Kj+5zmd2qQ=; b=g2jGtsst0SlvCOD9xfUpQfNh+0s42T45Fnxqcaze8ENV3PSes8kD0NCLLFG4IytI39 9d6vwjR7pmB5+qCCfj4hXSvE8qrjrpbnsEgOUZSdCpKnVoXF0Ts3v9R+YAdJ6PrbW5AO 1SwYE1wozO8PNN9rmGxsmQrDQHl9QQkembBp6WyJcsOkQRMQ4j4A9CuRc2vvrWRsnvjk M/8Gjx3wO13A46gf+QvbMt/UzZ0mo2UEQrv2p+JrcK1qImSVKhOZBxMrWEQi2iEJH+vM 80fADN92F7sGIaG4XLwErVf/rc1d5PGgvzi1xdch9YJvwFtxM1mWwIpsuWUjCJcWUdiJ ksLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690477145; x=1691081945; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=+h5b9iSf68eT3e10rX6ZgnouDl7RDMsV+Kj+5zmd2qQ=; b=k18289VBh2Ht+vcOG5f+i6x2GMRx6Jts3aOReE39gPJbw+A9dyjV5Uw7UZGVhd+r39 M1pXcc//1WuBOscXKj0QchUjfge2aRYqye6socbeHOh5mS4+xx9RHfw5J7+hkEkOF2P+ k8AB1rwcV8QYdw1FMVHMzrS7hHHRAToDKggtGoklJoAdC1ds+NsOzG21RRWlEqLtNmrZ RoIPOm8lI1MCw8sRIpoqNVRaKWHYxVVWk9RaRs2LUVk0eWFM9CkgSOf77gH3/l6b2hCu 5PUaxSJNQOjoBEY7kRRDJ2XKjDiFxbX5DP0LtYiAZtYcmB+7+YWPTYMndt1QUptT5ybk gcdg== X-Gm-Message-State: ABy/qLZCYjgG46TmjiBYoQNBq8FO5h/5yBN62jT+xQRqfDM3UDK3Oe50 oWSDDaIX01XpQbvgPeXYMge4dQ== X-Google-Smtp-Source: APBJJlENijKfsxSssGg95/tJuzhiRfsI+T8WQ3e9RaVBEdUkdytKbkBXKnoBHRSOD8cBfUR1PwZptA== X-Received: by 2002:a17:90b:4f8b:b0:268:1355:b03e with SMTP id qe11-20020a17090b4f8b00b002681355b03emr4502908pjb.38.1690477145456; Thu, 27 Jul 2023 09:59:05 -0700 (PDT) Received: from p14s ([2604:3d09:148c:c800:b3f9:2cf3:dfbd:a9b6]) by smtp.gmail.com with ESMTPSA id t12-20020a17090b018c00b002639c4f81cesm3043086pjs.3.2023.07.27.09.59.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 09:59:05 -0700 (PDT) Date: Thu, 27 Jul 2023 10:59:02 -0600 From: Mathieu Poirier To: Marek Vasut Cc: linux-remoteproc@vger.kernel.org, Bjorn Andersson , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 1/2] dt-bindings: remoteproc: imx_rproc: Support i.MX8MN/P MMIO Message-ID: References: <20230724222418.163220-1-marex@denx.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230724222418.163220-1-marex@denx.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230727_175908_457836_24E543A1 X-CRM114-Status: GOOD ( 19.63 ) 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 Tue, Jul 25, 2023 at 12:24:17AM +0200, Marek Vasut wrote: > The MX8M CM7 boot via SMC call is problematic, since not all versions > of ATF support this interface. Document MMIO support used to boot the > CM7 on MX8MN/MP instead and discern MMIO interface using DT compatible > string. Document GPR register syscon phandle which is required by the > MMIO interface too. > > Signed-off-by: Marek Vasut > --- > Cc: Bjorn Andersson > Cc: Conor Dooley > Cc: Fabio Estevam > Cc: Krzysztof Kozlowski > Cc: Mathieu Poirier > Cc: NXP Linux Team > Cc: Peng Fan > Cc: Pengutronix Kernel Team > Cc: Rob Herring > Cc: Sascha Hauer > Cc: Shawn Guo > Cc: devicetree@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-remoteproc@vger.kernel.org > --- > V2: Rename 'gpr' to 'fsl,iomuxc-gpr' > V3: Rename 'gpr' to 'fsl,iomuxc-gpr' everywhere > --- > Note that the MMIO being discerned using compatible string is similar > approach to "st,stm32mp1-rcc" vs "st,stm32mp1-rcc-secure". > --- > .../bindings/remoteproc/fsl,imx-rproc.yaml | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml > index 0c3910f152d1d..30632efdad8bb 100644 > --- a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml > @@ -20,7 +20,9 @@ properties: > - fsl,imx7ulp-cm4 > - fsl,imx8mm-cm4 > - fsl,imx8mn-cm7 > + - fsl,imx8mn-cm7-mmio > - fsl,imx8mp-cm7 > + - fsl,imx8mp-cm7-mmio > - fsl,imx8mq-cm4 > - fsl,imx8qm-cm4 > - fsl,imx8qxp-cm4 > @@ -70,6 +72,11 @@ properties: > description: > Specify CPU entry address for SCU enabled processor. > > + fsl,iomuxc-gpr: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: > + Phandle to IOMUXC GPR block which provide access to CM7 CPUWAIT bit. > + > fsl,resource-id: > $ref: /schemas/types.yaml#/definitions/uint32 > description: > @@ -79,6 +86,19 @@ properties: > required: > - compatible > > +allOf: > + - if: > + properties: > + compatible: > + not: > + contains: > + enum: > + - fsl,imx8mn-cm7-mmio > + - fsl,imx8mp-cm7-mmio > + then: > + properties: > + fsl,iomuxc-gpr: false > + > additionalProperties: false > > examples: I have applied this set. Next time please add a cover letter. Thanks, Mathieu > -- > 2.40.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel