Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp20839pxy; Tue, 20 Apr 2021 11:33:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3P9ZFE4nC9EeRN1sYQADCbpQQeF8PbB5jyO16QZZC6M4LFVMJl1s4sLJFdDADXd6j6Wsm X-Received: by 2002:a17:90a:280e:: with SMTP id e14mr6474133pjd.4.1618943581947; Tue, 20 Apr 2021 11:33:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618943581; cv=none; d=google.com; s=arc-20160816; b=t+YptRBjK5qMTvyXl2FBNHXxyKqMigGqFiLZa8wVL51/Shh8nuG1ksSXUCriXc1AhK irSxDIX6xQmyu7gDyJ1JWeM6iZoIhKwC8sE3ji9tBh3XGV5+NBI4BOr0ZLiscYoDK2ic X+4ZI5FY8I++JkVfvOsOerDgCUI7aHkhCz/F0CscFS2pxmMiyNO+Op/3QV2RY8mTFLOq tCkpAuM0i1LZJG7sd0OeWJ3wYtdn4OKNWeOxPTQKjkQ+tjJJVWRFVO4mGi2XNGZLUVAv qFchbKUqXSvbb+KyFY9DAMPNWtFbeRdITV+su/2JgCPbRgAIUD9c6BmoNIMIPnvplgxs QkWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=3Jpb3+eZcEQXJ5FDrKgeysID8DsET41SVuxy3dpQ6JQ=; b=xVUE3NHLXVc14KWzx3S+aD50ULCRaQ1Bnr6Z8ZloLsbs6s3t25QLSjl8DJ7VErNGxy b6+sYbqQdS/51SCjKsSgY0Urz6LP8kZrDr/0a30pmHhnEWn9zVnLpg6N9jX7F3/Jo5YP lqW3RR7wXT4ozdqpcJj8p8KMFj5pagIxbvX1odJeMxGllMQHYy7O4bcwszPzXwZ892hW URN6eWaes0y2IL93ogev9al0/qoL62jmjsWo3KoKYN2/B4znsho8nVNmtr3n8DDXK/LV hSiczFvJ4NZ2WxxfwE1BngqVCfsnW+IaIiib+MdmxZUQ2R2Dz99Lh5IEv7FZXT6wZWRt o3og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=viVEBgfj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e16si21643084pgt.111.2021.04.20.11.32.49; Tue, 20 Apr 2021 11:33:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=viVEBgfj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233581AbhDTSbK (ORCPT + 99 others); Tue, 20 Apr 2021 14:31:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233530AbhDTSbD (ORCPT ); Tue, 20 Apr 2021 14:31:03 -0400 Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4F54C06138A; Tue, 20 Apr 2021 11:30:25 -0700 (PDT) Received: from [IPv6:::1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 34FF48021A; Tue, 20 Apr 2021 20:30:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1618943422; bh=3Jpb3+eZcEQXJ5FDrKgeysID8DsET41SVuxy3dpQ6JQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=viVEBgfjHaJJSdS+nzm1qAvxsXeHuhyezgSB9OZHtguGOFSHS9PJIbyHXaCuycCYg uld3Fz4LcWAcGjlHmJbN7WW0dRpuVtkgEXn4i1X4T7M7uTy44iwApBBUz3C75sK+EP L2Zham3bhYQftRv70024TOzlH9SJDx8rcKHdk+sfTF1p4pv4DZ77WJ34imt1GWBQJR 2w3h/s2OYzFy4AkbVHHK7WxzTWf2fqt2aJ2kmrl+M9Qj+DoKeZLF65iF7hyDzJRvXu Er9SRXJM+t9ENmt4uyKXgOahkrbwaRVJ/KeuL4BLvv26ob5QOJjBr4NVg6C3yOW8Zl wdt32No7Sa4lg== Subject: Re: [PATCH v3 10/11] dt-bindings: clock: stm32mp1 new compatible for secure rcc To: gabriel.fernandez@foss.st.com, Michael Turquette , Stephen Boyd , Rob Herring , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , Etienne Carriere Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Etienne Carriere References: <20210419093852.14978-1-gabriel.fernandez@foss.st.com> <20210419093852.14978-11-gabriel.fernandez@foss.st.com> From: Marek Vasut Message-ID: <36aafe68-d313-692a-a551-4ff4147e584c@denx.de> Date: Tue, 20 Apr 2021 20:30:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <20210419093852.14978-11-gabriel.fernandez@foss.st.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/19/21 11:38 AM, gabriel.fernandez@foss.st.com wrote: > From: Gabriel Fernandez > > Introduce new compatible string "st,stm32mp1-rcc-secure" for > stm32mp1 clock driver when the device is configured with RCC > security support hardened. > > Signed-off-by: Etienne Carriere > Signed-off-by: Gabriel Fernandez > --- > .../devicetree/bindings/clock/st,stm32mp1-rcc.yaml | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml > index 4e385508f516..8b1ecb2ecdd5 100644 > --- a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml > +++ b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml > @@ -54,7 +54,9 @@ properties: > > compatible: > items: > - - const: st,stm32mp1-rcc > + - enum: > + - st,stm32mp1-rcc-secure > + - st,stm32mp1-rcc It is still the same IP and same SoC silicon, so shouldn't the configuration be discerned via DT property instead of compatible string ?