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 6EC9AC433EF for ; Fri, 17 Jun 2022 20:41:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382833AbiFQUlU (ORCPT ); Fri, 17 Jun 2022 16:41:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383649AbiFQUlF (ORCPT ); Fri, 17 Jun 2022 16:41:05 -0400 Received: from mail-il1-f169.google.com (mail-il1-f169.google.com [209.85.166.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08CF06D3AF; Fri, 17 Jun 2022 13:38:35 -0700 (PDT) Received: by mail-il1-f169.google.com with SMTP id y17so3698155ilj.11; Fri, 17 Jun 2022 13:38:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WxC8y4xgzpsGIQGT5vC3MH6pL5FDuKzI7XWPboiHFXc=; b=LYbQQF+KB2wM8B7yVpZDvjRaPEqgEk8Mpr9eqd8kxG6HVP7/SmWgPa62y9TP71Fszv DUE1jSfB2caq8/VYYnBYnZwYM+tlWVIu7MfjvDmH4O8FYJL9bLzFw+GXEH6cKiVjWBZq aqhdMKkSNzdI7M1z/bqnjY3OV8qeHsU5re21mkkHhjQQtq+23X38p7INDjyBj6SRj2jl fNQQ+vwYytPTU1XnfBREKGzVBelr+5bUYMOe9qhY0B67TVTOW0x2ckSz7oaqzwj4UWKz 8etfqBVKXnJdzD5tusR83UUAww25ROyFthpfDcepNWT8KQ+2zSuztZAJJ68rxTkL6aXk M0lg== X-Gm-Message-State: AJIora8KnlMlWZZ1kNi7ZeqWyFAPXkO2NTq64O9MROtDKDBXv8zDwlhL 3m/3ABe4GpxHKaFfzw3kYw== X-Google-Smtp-Source: AGRyM1tRfGyyxlHmt6DVN6C8QJwoAzdTs2WSfZKnyY/mpeCUg4tFUo332pxr0ovhLfFD051ISEv6SA== X-Received: by 2002:a05:6e02:1188:b0:2d8:c8cb:3fd0 with SMTP id y8-20020a056e02118800b002d8c8cb3fd0mr6715419ili.150.1655498289906; Fri, 17 Jun 2022 13:38:09 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id l124-20020a6bbb82000000b006694bc50b82sm2991817iof.35.2022.06.17.13.38.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 13:38:09 -0700 (PDT) Received: (nullmailer pid 2402049 invoked by uid 1000); Fri, 17 Jun 2022 20:38:08 -0000 Date: Fri, 17 Jun 2022 14:38:08 -0600 From: Rob Herring To: Alexandre TORGUE Cc: Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: rcc: stm32: select the "secure" path for stm32mp13 Message-ID: <20220617203808.GA2400871-robh@kernel.org> References: <20220613093815.18334-1-alexandre.torgue@foss.st.com> <20220616175531.GA3716982-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 17, 2022 at 09:21:40AM +0200, Alexandre TORGUE wrote: > Hi Rob > > On 6/16/22 19:55, Rob Herring wrote: > > On Mon, Jun 13, 2022 at 11:38:15AM +0200, Alexandre Torgue wrote: > > > Like for stm32mp15, when stm32 RCC node is used to interact with a secure > > > > 'st,stm32mp1' is stm32mp15? > > Yes "st,stm32mp1-rcc" is for the STM32MP15. > > > > > > context (using clock SCMI protocol), a different path has to be used for > > > yaml verification. > > > > > > Signed-off-by: Alexandre Torgue > > > > > > --- > > > > > > Hi Rob, Krzysztof, > > > > > > If you agree with this patch, I'll apply it directly in my STM32 tree. > > > > > > Thanks > > > Alex > > > > > > diff --git a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml > > > index f8c474227807..242fe922b035 100644 > > > --- a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml > > > +++ b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml > > > @@ -78,6 +78,7 @@ if: > > > contains: > > > enum: > > > - st,stm32mp1-rcc-secure > > > + - st,stm32mp13-rcc > > > > You don't need '-secure' because it's always secure? > > Yes. Compare to STM32MP15, the STM32MP13 is by default "secure". In our case > it is "mapped" to OPTEE, using SCMI protocols. Okay, Acked-by: Rob Herring 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 43C13C433EF for ; Fri, 17 Jun 2022 21:06:07 +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=IPn2af8QO3/EfsoSa8ALEg/61OiWISvNf+ZNJ81hXfk=; b=HMr65fZS3j9D9E Xhq91/TaDAz1OVirNvaM0jFKSsKxSa05ifEkW2q+OiWPFqeQoiBgWElH1ozETUzvBaur533EvaLMo IBSBWpYOxEBsQZcm3xToo92vSCsnIJP0CVlalb/nXP9vGxKn0tUmdb7SL8lorvkpSq2YR4RH8HCEF V62vcqOey54Wwrc6P7x8I6y95nQyfS3KCmkkrZ8B0FncQRODsqixf5FF+FBbBPn+tEmld61LJh6cs 1yjmIw0k+a4Y87ClPuRE6f7PgcBbVkXljQPVz6cnE7Ng2ezlf5oo4sgmWsSyL1rkFFweazbBk15oS P6t5xIjzHoBl+DsDgQVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2J8y-0097YX-Da; Fri, 17 Jun 2022 21:04:42 +0000 Received: from mail-il1-f179.google.com ([209.85.166.179]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2IjM-008z3O-03 for linux-arm-kernel@lists.infradead.org; Fri, 17 Jun 2022 20:38:13 +0000 Received: by mail-il1-f179.google.com with SMTP id c4so212661ilj.7 for ; Fri, 17 Jun 2022 13:38:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WxC8y4xgzpsGIQGT5vC3MH6pL5FDuKzI7XWPboiHFXc=; b=WDIjU8t6ChioXEnX68II32q9mXSoDrSJzOgm7aGRqdp5Nl7vgwBMOFKuspi/7zb9t0 SwzpTtnRn0hZY/AHmROj5Lopa/Hl1SUOh1cOcpo6TZgvC2zzeC5hEE78y3dS0UP1k58S bS3GNiZvis6aI0oqB9WAtOGPhdDhtH341obHgx1oraIiM36Q0NXiSxJit4Y3lqxAiztp IAY09OhkrOwoDuqC5fjEIZ2kmw8BaNOsGl80H3RB1j1xL9RxlVcbywETAoBPphAK8Djf oUThtjc6+yyFkhY9K0Qc3Ea40LRlrSXi7zCyKlGFLL+m6OZjlizXQw6cacqe6sGZ5rTw 2zzA== X-Gm-Message-State: AJIora8u/WeV6QpVyhmB6jWzfLdWVcchA/N8fvd2bwxPYeYfMo6FIMZu mgQG4VljUXmAZtdGDR+Wb9YhTcgE3A== X-Google-Smtp-Source: AGRyM1tRfGyyxlHmt6DVN6C8QJwoAzdTs2WSfZKnyY/mpeCUg4tFUo332pxr0ovhLfFD051ISEv6SA== X-Received: by 2002:a05:6e02:1188:b0:2d8:c8cb:3fd0 with SMTP id y8-20020a056e02118800b002d8c8cb3fd0mr6715419ili.150.1655498289906; Fri, 17 Jun 2022 13:38:09 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id l124-20020a6bbb82000000b006694bc50b82sm2991817iof.35.2022.06.17.13.38.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 13:38:09 -0700 (PDT) Received: (nullmailer pid 2402049 invoked by uid 1000); Fri, 17 Jun 2022 20:38:08 -0000 Date: Fri, 17 Jun 2022 14:38:08 -0600 From: Rob Herring To: Alexandre TORGUE Cc: Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: rcc: stm32: select the "secure" path for stm32mp13 Message-ID: <20220617203808.GA2400871-robh@kernel.org> References: <20220613093815.18334-1-alexandre.torgue@foss.st.com> <20220616175531.GA3716982-robh@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220617_133812_096009_E7BC17E1 X-CRM114-Status: GOOD ( 19.77 ) 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, Jun 17, 2022 at 09:21:40AM +0200, Alexandre TORGUE wrote: > Hi Rob > > On 6/16/22 19:55, Rob Herring wrote: > > On Mon, Jun 13, 2022 at 11:38:15AM +0200, Alexandre Torgue wrote: > > > Like for stm32mp15, when stm32 RCC node is used to interact with a secure > > > > 'st,stm32mp1' is stm32mp15? > > Yes "st,stm32mp1-rcc" is for the STM32MP15. > > > > > > context (using clock SCMI protocol), a different path has to be used for > > > yaml verification. > > > > > > Signed-off-by: Alexandre Torgue > > > > > > --- > > > > > > Hi Rob, Krzysztof, > > > > > > If you agree with this patch, I'll apply it directly in my STM32 tree. > > > > > > Thanks > > > Alex > > > > > > diff --git a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml > > > index f8c474227807..242fe922b035 100644 > > > --- a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml > > > +++ b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml > > > @@ -78,6 +78,7 @@ if: > > > contains: > > > enum: > > > - st,stm32mp1-rcc-secure > > > + - st,stm32mp13-rcc > > > > You don't need '-secure' because it's always secure? > > Yes. Compare to STM32MP15, the STM32MP13 is by default "secure". In our case > it is "mapped" to OPTEE, using SCMI protocols. Okay, Acked-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel