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 86554C61DB3 for ; Mon, 9 Jan 2023 01:16:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233850AbjAIBQP (ORCPT ); Sun, 8 Jan 2023 20:16:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233703AbjAIBQM (ORCPT ); Sun, 8 Jan 2023 20:16:12 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDEA4DFF; Sun, 8 Jan 2023 17:16:10 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6E78760EA5; Mon, 9 Jan 2023 01:16:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB27BC433F1; Mon, 9 Jan 2023 01:16:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673226969; bh=I7uRhzzKfn+fJFzre0fr0A96dZ17V23thWuW3j3BOQg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=pP+iQ+VXytwoQx8X5jton7J/vMtVUiABkGC0oVWf/hdfIfZWT1Bd0IS/BodfXs+gY Ih0w5IwQrz5V2gLfkriGJlNcOrVcbFpLZK2HzCdqUQpR3Y20/p34wTK+TX3nkYZX0C lZFfT2YjhZ6pc5yCfaN5fZRttiGfZXvHrziusCIcpC/xtVIHGgBnkpim26dRN5nbl3 HUhX09BfNcZnXDPoMgi38OtizqXF/dl76Dktf3zgXJgX2HmNItXgMD+brCeI9HTKE/ SKEwMpQcJvbeDN1HrOqeT+ewWlXJTJOmxiI1SNvcnkCBDJEpKNiDukceDmxlLzDu1k t1WkQgYg2iaGA== Received: by mail-ua1-f48.google.com with SMTP id z23so1657446uae.7; Sun, 08 Jan 2023 17:16:09 -0800 (PST) X-Gm-Message-State: AFqh2kp9Xd98qLKmQEXpZ93lGwnKpWRhcc59WfPTnMf++vzFTy40bDFX rZv9Is4UAb1urAid68jjqNY3keO74tZJbH/9Lg== X-Google-Smtp-Source: AMrXdXtu1ZODwK9qx/LS3GDF1PgE1EtAbnaQtR39OMzYo0BRd36pFYWpqo21w8COL0zisKQVqz74Q2sk6UuNIqd7Ir0= X-Received: by 2002:a05:6130:2ac:b0:573:d2a:e6cf with SMTP id q44-20020a05613002ac00b005730d2ae6cfmr3485209uac.36.1673226968780; Sun, 08 Jan 2023 17:16:08 -0800 (PST) MIME-Version: 1.0 References: <20221214044342.49766-1-sriranjani.p@samsung.com> <20221214044342.49766-2-sriranjani.p@samsung.com> In-Reply-To: <20221214044342.49766-2-sriranjani.p@samsung.com> From: Rob Herring Date: Sun, 8 Jan 2023 19:15:57 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynos850 To: Sriranjani P Cc: krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, alim.akhtar@samsung.com, pankaj.dubey@samsung.com, ravi.patel@samsung.com, sathya@samsung.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 13, 2022 at 10:47 PM Sriranjani P wrote: > > Exynos850 has two different SYSREGs, hence add dedicated compatibles for > them and deprecate usage of generic Exynos850 compatible alone. > > Signed-off-by: Sriranjani P > --- > .../soc/samsung/samsung,exynos-sysreg.yaml | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml > index 4954790eda6c..427df05224e5 100644 > --- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml > +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml > @@ -17,7 +17,6 @@ properties: > - samsung,exynos3-sysreg > - samsung,exynos4-sysreg > - samsung,exynos5-sysreg > - - samsung,exynos850-sysreg > - samsung,exynosautov9-sysreg > - tesla,fsd-cam-sysreg > - tesla,fsd-fsys0-sysreg > @@ -33,9 +32,17 @@ properties: > - const: samsung,exynos5433-sysreg > - const: syscon > - items: > - - const: samsung,exynos5433-sysreg > + - enum: > + - samsung,exynos5433-sysreg > + - samsung,exynos850-sysreg > + - const: syscon > + deprecated: true This is throwing an error in linux-next now. How can 1 item in a list be deprecated? What's the not deprecated value for the entry? Probably this needs to move up to 'items' as the whole entry is deprecated. > + - items: > + - enum: > + - samsung,exynos850-cmgp-sysreg > + - samsung,exynos850-peri-sysreg > + - const: samsung,exynos850-sysreg > - const: syscon > - deprecated: true > > reg: > maxItems: 1 > @@ -53,6 +60,8 @@ allOf: > compatible: > contains: > enum: > + - samsung,exynos850-cmgp-sysreg > + - samsung,exynos850-peri-sysreg > - samsung,exynos850-sysreg > then: > required: > -- > 2.17.1 > 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 777CCC54EBD for ; Mon, 9 Jan 2023 01:17:40 +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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=r1a/F2x9caLnAGDQHksT0BKP9t+wyUQN92QDTVQzlLY=; b=22CHHuwnpIe4AL voipXbycHVbR5Z3ljw0TDjoEE//ux3lFtWkMKLICB8p9qEnOA4UqaCyNWxTzE/N+IyDdo3w11iWPu xliJN8lVNxuF4UH8yYC7Y2xCMe/JrLxqMgTofiS6FFWqZe6dLvQUt7aQHv7ok4cE9klf5fN+At38f ZU2HuJ0DJ6vHdV7vQNoGU36FzsdJcmkKQ4QWNr4ALNyUYXYdRS0JbIW7kPCBCopXxuMut8c04YicN x2lF0pPHY3Jjpu6lhnYW0pwnf/9v7DoLDcW7cmYfmoBIkAJ9Jr8OYJAxRjMK9ZULInlR0kcBg1A/p MCB3jDXTWjGFOrA0zmyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pEglr-00GcJK-8r; Mon, 09 Jan 2023 01:16:15 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pEgln-00GcHz-QB for linux-arm-kernel@lists.infradead.org; Mon, 09 Jan 2023 01:16:13 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5FE2F60EAA for ; Mon, 9 Jan 2023 01:16:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C52CEC433EF for ; Mon, 9 Jan 2023 01:16:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673226969; bh=I7uRhzzKfn+fJFzre0fr0A96dZ17V23thWuW3j3BOQg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=pP+iQ+VXytwoQx8X5jton7J/vMtVUiABkGC0oVWf/hdfIfZWT1Bd0IS/BodfXs+gY Ih0w5IwQrz5V2gLfkriGJlNcOrVcbFpLZK2HzCdqUQpR3Y20/p34wTK+TX3nkYZX0C lZFfT2YjhZ6pc5yCfaN5fZRttiGfZXvHrziusCIcpC/xtVIHGgBnkpim26dRN5nbl3 HUhX09BfNcZnXDPoMgi38OtizqXF/dl76Dktf3zgXJgX2HmNItXgMD+brCeI9HTKE/ SKEwMpQcJvbeDN1HrOqeT+ewWlXJTJOmxiI1SNvcnkCBDJEpKNiDukceDmxlLzDu1k t1WkQgYg2iaGA== Received: by mail-ua1-f43.google.com with SMTP id d14so1650514uak.12 for ; Sun, 08 Jan 2023 17:16:09 -0800 (PST) X-Gm-Message-State: AFqh2kpj+XRlBCo7J/TMERRo/VUmDEx9JxDTI++LaN4fH3e9SuTNdv4W TJY/sUEoXqQ5QlPYnxRdxTplvNWYPQRhxj6vFA== X-Google-Smtp-Source: AMrXdXtu1ZODwK9qx/LS3GDF1PgE1EtAbnaQtR39OMzYo0BRd36pFYWpqo21w8COL0zisKQVqz74Q2sk6UuNIqd7Ir0= X-Received: by 2002:a05:6130:2ac:b0:573:d2a:e6cf with SMTP id q44-20020a05613002ac00b005730d2ae6cfmr3485209uac.36.1673226968780; Sun, 08 Jan 2023 17:16:08 -0800 (PST) MIME-Version: 1.0 References: <20221214044342.49766-1-sriranjani.p@samsung.com> <20221214044342.49766-2-sriranjani.p@samsung.com> In-Reply-To: <20221214044342.49766-2-sriranjani.p@samsung.com> From: Rob Herring Date: Sun, 8 Jan 2023 19:15:57 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynos850 To: Sriranjani P Cc: krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, alim.akhtar@samsung.com, pankaj.dubey@samsung.com, ravi.patel@samsung.com, sathya@samsung.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230108_171611_973443_13A3ABAD X-CRM114-Status: GOOD ( 18.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 Tue, Dec 13, 2022 at 10:47 PM Sriranjani P wrote: > > Exynos850 has two different SYSREGs, hence add dedicated compatibles for > them and deprecate usage of generic Exynos850 compatible alone. > > Signed-off-by: Sriranjani P > --- > .../soc/samsung/samsung,exynos-sysreg.yaml | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml > index 4954790eda6c..427df05224e5 100644 > --- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml > +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml > @@ -17,7 +17,6 @@ properties: > - samsung,exynos3-sysreg > - samsung,exynos4-sysreg > - samsung,exynos5-sysreg > - - samsung,exynos850-sysreg > - samsung,exynosautov9-sysreg > - tesla,fsd-cam-sysreg > - tesla,fsd-fsys0-sysreg > @@ -33,9 +32,17 @@ properties: > - const: samsung,exynos5433-sysreg > - const: syscon > - items: > - - const: samsung,exynos5433-sysreg > + - enum: > + - samsung,exynos5433-sysreg > + - samsung,exynos850-sysreg > + - const: syscon > + deprecated: true This is throwing an error in linux-next now. How can 1 item in a list be deprecated? What's the not deprecated value for the entry? Probably this needs to move up to 'items' as the whole entry is deprecated. > + - items: > + - enum: > + - samsung,exynos850-cmgp-sysreg > + - samsung,exynos850-peri-sysreg > + - const: samsung,exynos850-sysreg > - const: syscon > - deprecated: true > > reg: > maxItems: 1 > @@ -53,6 +60,8 @@ allOf: > compatible: > contains: > enum: > + - samsung,exynos850-cmgp-sysreg > + - samsung,exynos850-peri-sysreg > - samsung,exynos850-sysreg > then: > required: > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel