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 A1525C54E41 for ; Fri, 8 Mar 2024 19:12:08 +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:In-Reply-To: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=h9e6/UCQD53jy1mNxAQrN1PVQg6xU2ceW1INm7ipMmk=; b=z4FGu+7L6Szw2E FUSLc/IeIm5+VQE++VywzjNkxJH5WTLa/LjjyHtW5bxkjkswD/Qsu9SdEyixh/O5XjBFhTMxISUcE KBp5vZ7fdBbulae12TYEJz1CbNJKvflTqa5r1TMhSzDUgNhrwWDMqzVpIDCZNENxjTmX3GCtWLvcv u6ZfJYWpJjWwlmNq2dZEFGpSEsMXMWYpAPGkStbEdcrCP44kCoTfDYyH+Wkj+MC+uJ/EKTuaU+1yw j6Ta8KBiNzpzkGelmRtwjD1S713pInNkVZEzBxhtG27+T9gehjyWpBnS4NviAI22Qeur+wm7SIuay chEO6NlHP2WW74j+x2Ag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rifdI-0000000AxhC-1x7R; Fri, 08 Mar 2024 19:11:52 +0000 Received: from mail-db8eur05on2060e.outbound.protection.outlook.com ([2a01:111:f400:7e1a::60e] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rifdF-0000000AxZS-0P3V for linux-arm-kernel@lists.infradead.org; Fri, 08 Mar 2024 19:11:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ec0/ApShpKE1UO21NMWBqPip91My7YJv0F6QOmPabZe/jtmlt8lttov7+jSPwS8AHDhQHI2JgygSJiAcrfrw4vgqKKzlUTPwDSCFJ7OdU8vWTrMZpmpr1pBq5xe9/ETT4tIFCN28HjA4EVjlYkQ9vZle8vYa+1VBWRF8S6+ZQ7ESHqPv9jb06ACA3Grq5NdPELNs7tPwPoLm9w/QREOUqNq/WP7xIbPoEvaiMjSmWdSCFmRKVAHK8JLcWsv70Nx5VYDl73Yc/ElJQ2c239rn9x+S9y4+TBMSM9vMZs/qyucM4miq+MM6DoJHQyndOjnQBEHj5TA2gXLSsbLAtGwyMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=P/shYkFSPQCFmtRw8GMa2DZdUvaX3XK+N2FCFCD0FbI=; b=RJkQ6L1cF7w+uxYqYbYYn8JY5LWzNF6haZKPTbGXV2/X+l+AgsW3rRkJM1GhWOSu82a7gtd38zvfwYmCjDbD4BkJRwwaSHZEc45G0dWV83xr8aZOFDZuOfZWq10GpV8BXv6TXvCIYcANZwoqJ/Y4qGfFXSZD+sYp1l4NSvD6obbZlgwx9ecCFr91di/3O3yE2qTGOteIfG/z6v86fhNdFmoZys+29D5FpSILmwS2HMKs4tiS16zyEfTtcb8qpd6YgbDgiuSDMGMW/MMrKk618VTYpXbscgZ2axBLMVyE+3OKIV/dSvSCRZZztIq4y7g+YtYX5bOuHhy9G2MnTMoQPA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P/shYkFSPQCFmtRw8GMa2DZdUvaX3XK+N2FCFCD0FbI=; b=FeJ7rCBT8gwelvoYbtZ75Vwoi6Yby1NETS/L5cUDVxe5PbbOlX3ZHeLMbdkqaQu1jY109Lr6NKs2mCGBQpsKiIyX4UvGsGKkapOwMhMN3IlCytPUfmcPw5qQxkkHpz8rz9dRg7xg62Nk6CsZGFVle8S4xcivvZ9STqX9xQHktnM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PAWPR04MB9742.eurprd04.prod.outlook.com (2603:10a6:102:389::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 8 Mar 2024 19:11:43 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6%3]) with mapi id 15.20.7362.024; Fri, 8 Mar 2024 19:11:42 +0000 Date: Fri, 8 Mar 2024 14:11:34 -0500 From: Frank Li To: Rob Herring Cc: Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shengjiu Wang , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Conor Dooley Subject: Re: [PATCH v6 2/4] ASoC: dt-bindings: fsl,imx-asrc: update max interrupt numbers Message-ID: References: <20240308-asrc_8qxp-v6-0-e08f6d030e09@nxp.com> <20240308-asrc_8qxp-v6-2-e08f6d030e09@nxp.com> <20240308181103.GA855753-robh@kernel.org> Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: SJ0PR05CA0057.namprd05.prod.outlook.com (2603:10b6:a03:33f::32) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAWPR04MB9742:EE_ X-MS-Office365-Filtering-Correlation-Id: 2bd0ae21-1d14-4818-86d1-08dc3fa3972a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D6VVGZGdEUCQj3wAx84uL1x/BwDxFc2B+85Q80pC//A3rbrUf7Tyq3MelKvQi9OEUGRBvndaoUkkZIWxT9ntvMP/h5SKd7/vuOTxL8me42kjh3UpkWbybaPG+hWQTdywO8a139C5YpEoYcVXA/mah28GlZpTipB/jXGw2BSH55tyfVJsQQetm9+Mk+JRcj9AsgG161yRV22EN23MdWur+AJx0G8U0HGMucNcsi9l2d+IxIL9NcOpbMvyA5MmlGfNicqGk/sIAABSNuVKBKSwOn2ez1hjROgEaHE97RH0g4HqfT3Jw3zAEE5UqIaQCP4g7SyByG07V9G+U/brRv+0BiEjcM9OqedIbvAMcBGZewbJKnk1nhWvMKaPj2QDy4YvvzgPermtTPFoswMk7b17OvwHIXuyWSuRjE2qSC7Qb74lJjDLoefv0KH+7r+WkBLXpQ1rsDfPoVrLBGP7sVk2DJnpfQpuPs6e4jUpVmfU6y+/aynj5zO4jLn7fLHZgJcqqgouLlAFBTbLcPbgnGizfBYVTw+A1DiM34b6HFQx1f9GGH2BxrNXyT6yktVyXRsq6YwnVs44B7c6OP1ywbiKyBMtpXMCO48/oIHTkPUiLcxjOs+W0ge8lVBkuolJ+TNlVvW8rbrwruQgwGDaYbkVa/+5WFgvHo2FZbjMUV3PtdQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(52116005)(1800799015)(376005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?UPBRnFS1t0Um3plx8EEhjsWfsTOquEjRMFFFQiWIUwzArBc2HYtJxqF0vogf?= =?us-ascii?Q?gOg6UsuwKxoaV/xID/hxK+4qSbwRpHqYkQ8UjHHCv7dlQSWXFe6tF72uKvsV?= =?us-ascii?Q?j5NYrHkPUpcp2E6s2f71CBXQxRM8HschIOgo51ZNmhCau/bFmP7y+kaRpMvk?= =?us-ascii?Q?eC+2TZpDEuQNYXDJRiYUusm2n2k3KRRN3SpbcUXVkKYTE37ElULgw6+qXP1D?= =?us-ascii?Q?P53chY/QJsCbV7MmBqpYaFUm+wpU49vPJnkEZf2928OUov22Y6CF/3jAM7u+?= =?us-ascii?Q?L3l7H7sKO0j7FkCQgHDAg90wvhZSSN2WR2dsXEbc1YCIXSl4aUR5cL965/KQ?= =?us-ascii?Q?nrfFqy4jEbwTW5M6889wwjigl7GFzajct+xft6S1gIC/xgqQ/OBOwQPqHJZh?= =?us-ascii?Q?BYi+i3mfzdhxesLlj2v58NcxqFvDZjeqHVOKNkDxhQ2EZT4gN1PnoLWcp/M9?= =?us-ascii?Q?OubZhyu8ABJBw/F4ROoufFIM+lbSn1vXuVC1xrG/03uiwshaFzlsX56kal6v?= =?us-ascii?Q?YEWazlUFxkoChU6KBD6pV7P7CKz58QuRy4PuAPE77d8TY66l4ak/9HBCA/Uw?= =?us-ascii?Q?RL0xT379CNyqY0zHLEHTC1yay7dsDeKT8po2KwOGeXTpcKY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CHKf4N+YEXLbnuSb2+958o37L2FPPvjJmKjSifok2YXv6?= =?us-ascii?Q?7KYA9W/iOqQ23NVYfI9DRQg0LOb7DQpFbTOiYxYg?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2bd0ae21-1d14-4818-86d1-08dc3fa3972a X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2024 19:11:42.8984 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: J/kqAm5x0GhDArMYuhiMNlJHkrxsjnt9znsuyPddXDyQ7v8ooz2MEEqDBsjzEIA2ber1ykfn+YBlAMj2t+29Kg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR04MB9742 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240308_111149_274915_D13A8B48 X-CRM114-Status: GOOD ( 23.39 ) 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, Mar 08, 2024 at 02:01:29PM -0500, Frank Li wrote: > On Fri, Mar 08, 2024 at 12:11:03PM -0600, Rob Herring wrote: > > On Fri, Mar 08, 2024 at 10:30:51AM -0500, Frank Li wrote: > > > fsl,imx8qxp-spdif and fsl,imx8qm-spdif have 2 interrupts. Other platforms > > > have 1 interrupt. > > > > > > Increase max interrupt number to 2 and add restriction for platforms except > > > i.MX8QXP and i.MX8QM. > > > > > > Acked-by: Conor Dooley > > > Signed-off-by: Frank Li > > > --- > > > .../devicetree/bindings/sound/fsl,spdif.yaml | 21 ++++++++++++++++++++- > > > 1 file changed, 20 insertions(+), 1 deletion(-) > > > > > > diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml > > > index 56f8c0c8afdea..a242f68f99f18 100644 > > > --- a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml > > > +++ b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml > > > @@ -31,7 +31,11 @@ properties: > > > maxItems: 1 > > > > > > interrupts: > > > - maxItems: 1 > > > + minItems: 1 > > > + maxItems: 2 > > > + items: > > > + - description: Combined or receive interrupt > > > + - description: Transmit interrupt > > > > Test your patches please because this will have warnings. Or, you can > > put in *exactly* what I provided because this is not it. > > > > If you continue to just toss crap at us at the rate you are, the DT > > maintainers will either just start ignoring your patches or require some > > trusted review by another NXP colleague first (offhand, not sure who > > that would be which is part of the problem). > > Sorry, I run wrong command to check another dtb file. So have not catch > this problem. Strange when I run second time, spdif warning disappeared. make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 CHECK_DTBS=y freescale/imx8dxl-evk.dtb DTC_CHK arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: /: fixedregulator@101: 'anyOf' conditional failed, one must be fixed: 'reg' is a required property 'ranges' is a required property from schema $id: http://devicetree.org/schemas/root-node.yaml# /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: bus@34000000: clock-cm40-ipg: {'compatible': ['fixed-clock'], '#clock-cells': [[0]], 'clock-frequency': [[132000000]], 'clock-output-names': ['cm40_ipg_clk'], 'phandle': [[15]]} should not be valid under {'type': 'object'} from schema $id: http://devicetree.org/schemas/simple-bus.yaml# /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: intmux@37400000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/interrupt-controller/fsl,intmux.yaml# /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: dma-controller@591f0000: 'clocks' is a required property from schema $id: http://devicetree.org/schemas/dma/fsl,edma.yaml# /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: dma-controller@591f0000: Unevaluated properties are not allowed ('power-domains' was unexpected) from schema $id: http://devicetree.org/schemas/dma/fsl,edma.yaml# /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: dma-controller@599f0000: 'clocks' is a required property from schema $id: http://devicetree.org/schemas/dma/fsl,edma.yaml# /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: dma-controller@599f0000: Unevaluated properties are not allowed ('power-domains' was unexpected) from schema $id: http://devicetree.org/schemas/dma/fsl,edma.yaml# /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: serial@5a070000: Unevaluated properties are not allowed ('resets' was unexpected) from schema $id: http://devicetree.org/schemas/serial/fsl-lpuart.yaml# /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: dma-controller@5a1f0000: 'clocks' is a required property from schema $id: http://devicetree.org/schemas/dma/fsl,edma.yaml# /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: dma-controller@5a1f0000: Unevaluated properties are not allowed ('power-domains' was unexpected) from schema $id: http://devicetree.org/schemas/dma/fsl,edma.yaml# /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: dma-controller@5a9f0000: 'clocks' is a required property from schema $id: http://devicetree.org/schemas/dma/fsl,edma.yaml# /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: dma-controller@5a9f0000: Unevaluated properties are not allowed ('power-domains' was unexpected) from schema $id: http://devicetree.org/schemas/dma/fsl,edma.yaml# /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: bus@5b000000: clock-conn-bch: {'compatible': ['fixed-clock'], '#clock-cells': [[0]], 'clock-frequency': [[400000000]], 'clock-output-names': ['conn_bch_clk']} should not be valid under {'type': 'object'} from schema $id: http://devicetree.org/schemas/simple-bus.yaml# /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: dma-apbh@5b810000: $nodename:0: 'dma-apbh@5b810000' does not match '^dma-controller(@.*)?$' from schema $id: http://devicetree.org/schemas/dma/fsl,mxs-dma.yaml# /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: dma-apbh@5b810000: 'clock-names', 'interrupt-names', 'power-domains' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/dma/fsl,mxs-dma.yaml# > > Frank > > > > > Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel