Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp474501pxb; Fri, 28 Jan 2022 03:26:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJy06BVUDqObg9C4TaLkX2lJszg/KwrRBzitVadEVsaEOacRG7fuABRmxdpMxJMmUXkjMxAv X-Received: by 2002:a05:6402:4256:: with SMTP id g22mr7745436edb.78.1643369191960; Fri, 28 Jan 2022 03:26:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1643369191; cv=pass; d=google.com; s=arc-20160816; b=nBHgi2G96SZcvgMPLf76HyT97G3T/bj0bh50Kn/7MS5jQndj4BNZAZDgwIIidbB+LH lfFE5TCHY/zaCP3MVNK0VPnT2fdv66JDAG5A+JZcufwqiCnTZ3iOV7guZDlKAxkV9TBw zwnWDe2FQsoi0/NOhmdi3YuN2NNYqQx6/Pw51GvAkBiYN7vXK8Om7GyiEies7v8L1ZK5 VALUtfPxfAJBCZ9ES8gHBEXt3iSoGdUgdhRbL/CTr450AIjWa3NwtkteHiZe+YFPuNXZ TYUbhcZcBDmr82FxKRvCTNQ/hM0OBbZlXKdBNZVwiWYhKtswG7xtt2w+5f4xV1JokrEZ /lNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gTPqNIxX9YDHI0pNSJX9mQ8nJoxwj+zCU1B2nScMl9c=; b=mh2dmh37WTpluQsn2VEVkhUsY7ylGnXlx/47f+El0umYTqS38wJyWuCcA1WWiLZo+Q SqsorY+FMrZ/WtgkLkBdoNuKviQ069ldUNIkuyWwJjXq0mib8lIr8i+RAbD0rflrfTNJ eyMpk8YvSP6CVlQUODAkygiBcuy5rW6iU/+rEomhxSk2VN7XWw/iQN5ZuS5RVGJcE3A4 oPPm3bRkPd8mNVyXnShvfcqcHhMo8mHG66B9zZayrxgBiL4u+RzaGbtnSb/tbJNcnRSO FpxtWq9ufX0yur4awLy1JO10upr5yxm7Luvz7Alxocf3F3MhMqKwtwO161Hi2LKjkWXI F/TA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=eCDWNH0P; arc=pass (i=1); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s30si2919139edi.340.2022.01.28.03.26.07; Fri, 28 Jan 2022 03:26:31 -0800 (PST) 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=@nxp.com header.s=selector2 header.b=eCDWNH0P; arc=pass (i=1); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244569AbiA0RVj (ORCPT + 99 others); Thu, 27 Jan 2022 12:21:39 -0500 Received: from mail-eopbgr150051.outbound.protection.outlook.com ([40.107.15.51]:40513 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S244500AbiA0RV2 (ORCPT ); Thu, 27 Jan 2022 12:21:28 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F1I2pGFkCvm77KOKooVzhdpEqZ4+C4Ugd8wj7+8rdrBzfTjYW/QjpNcsTPwOQXW9H37ZpsCBPPn5fRcYyOspTETcpF6SP70koO4qOvC1X7AvO0TJ+mpOEXYnoBHKxRmmuMdN6gWHA1sIBEna/vkJA/EQzlcfL6phiL2LKXDbMtD6SxLQlS80wvMjeHAL1cMH1Xq6tGbIZkipLKr0IwJuaIHlJl6V+Wm4bhL0ZW9SHEj4W8tUphGgTm75Cc9qPhUn4DdImANVe7UmtUp//BH0WRfNHHK+z00X9kBoGcfKL2dmDmbYxoBdtJPLkES1vIjSqS10mlaAoNkKjG2NhUR+kw== 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=gTPqNIxX9YDHI0pNSJX9mQ8nJoxwj+zCU1B2nScMl9c=; b=TbiCSCOqD8oYFR5uPiODVeKz2z3P7HRom1BwfDCkGIuAmYY85H4rNQvaG1T3mRwviNFGiJ2873n3M2jBXH6MYMrrov4b/ywcJoRFi7y12desJLVtjeZ6uRql54oqOBHXrhyZ3vQz3/h4TrmTwURIUOGObH1JspnOR7Ffw1AkYKL6JkyTEMKIII8K1rkCOP6KZEzA6USF/5lpDfmfXxuOOYA3QMV/kO//88W8c41dlolg59nZXg+CYvT0bw4g1tUSneJTd6NSHz9Du8OcDoJR8zP0PBYQ0NTgqWvngltRRa/Ez/xDnPuc/aBpMQyeSql9X/OfKh38lMrOk/Cr7KfTTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=gTPqNIxX9YDHI0pNSJX9mQ8nJoxwj+zCU1B2nScMl9c=; b=eCDWNH0PNTXXDzlK8dwDp0vtNyFCXdeFAyUKr1CO9bFzCvIi/N3QsxG8F6hFd5tZnVG8NUxpyhgNilfBuMSS68gT/rYw1Hji/F3Cp7CGVd0nnnRGLXIqeORLZMiqbRb7+QuIYhnodovHAscjb0pOt7AKFqgagnUri9GHr/cqvqc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by DU2PR04MB9017.eurprd04.prod.outlook.com (2603:10a6:10:2d0::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.17; Thu, 27 Jan 2022 17:21:26 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::f4d7:e110:4789:67b1]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::f4d7:e110:4789:67b1%5]) with mapi id 15.20.4930.015; Thu, 27 Jan 2022 17:21:26 +0000 From: Vladimir Oltean To: Shawn Guo , Lee Jones Cc: Andrew Lunn , Florian Fainelli , Claudiu Manoil , Rob Herring , Li Yang , Michael Walle , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] arm64: dts: ls1028a-qds: make the QIXIS CPLD use the simple-mfd-i2c.c driver Date: Thu, 27 Jan 2022 19:21:05 +0200 Message-Id: <20220127172105.4085950-4-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220127172105.4085950-1-vladimir.oltean@nxp.com> References: <20220127172105.4085950-1-vladimir.oltean@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: AM4PR0501CA0047.eurprd05.prod.outlook.com (2603:10a6:200:68::15) To VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 51551422-bee0-41d9-5c96-08d9e1b972d3 X-MS-TrafficTypeDiagnostic: DU2PR04MB9017:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4502; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z9vMnLYXQuV6tT4iBRSkqTriyu6BjYg7QVkt8TMqSxCIaJGYP7B6Smf/cxn+f/isNy8ikE886Y0MXziOzmT6DZSGl2OUCAJcXJ+2VMBxdcOlYUaph6LdRYv71hH9o/oknr2Eh+lFg4aPqPPfrZ5ShiBogcrhOEEv3Nf4EAlLLtnrDNsenBYeNItGF7bL2my/xZFNSrpqy+cjbEyVGKBaA6dsbclxUFBG4m3MQFNVlWW5c3RLJ7JyIL2OQUDjoZEhzQOAbZyPYTi6xglKTPKyCzqLR/ER0L9b0spNg0BCG+s/DQKZzPMvFTpNjlunrn2m21nAH86qQ16wHbcoXqV6XV4oMq7HhAes+Wm6c3M6ReLJ+Jg4fNnuKD6xOb34yJaOgzRkZTB2XW+hZrIehGUccZ+KAAVPxDUxy8KshXx++VxLDB2sILrCNMnLU/EwDJJzM9NosmMe/wplDZ2ymQKHGKSj1lwKw2gNaws2mEhkraBUo3ajczFNLGk6hg6xjepsNGWiKMNBw55g21UYRgfL2/vwsUPu4BkOwhZ3XEPKOeVskqdneOltnbkJ9hmRyLDVqTgQScKnRw+ZahD4c1s9mFaV/RpqgkuBDG/n0xrCWKJtBA9IuGMJDiObU5RRLv8xQLISwBA17ueeI5S5BVxQVPIGmwSeFIZwpeipeZzPoXbvJLQJvHXUd5tqk9kwCTBvhlBLl5TgSb0g+8FEQvoUH+nZlgDcVyl7ohV/7xhx9wWkfo8q9uUmxhV/4eGBdEvMBIXK8Xdb4f+ANTAN7fv7l4GFNe6bhKc6gC3waG+W9pg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5136.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(2906002)(38100700002)(83380400001)(6512007)(38350700002)(52116002)(186003)(66556008)(66946007)(1076003)(2616005)(6666004)(6506007)(26005)(66476007)(966005)(54906003)(44832011)(7416002)(4326008)(8936002)(5660300002)(8676002)(316002)(6486002)(110136005)(36756003)(508600001)(86362001)(20210929001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?o5RhQtfCA6xZI05QztNtIaIMe1UNzzdI2hsikfWg5ycMKs3LE0OEBPb3h7/1?= =?us-ascii?Q?shJU400uWndeXEZq01ATLE2HMNvwguVd9cl6RMIIU9Kqr/m2HxLzKdil0nIX?= =?us-ascii?Q?9Dr4opXmq3NivNfAeXBtsNA19BvkBAA7UJ1K9tDsp5fKp1H9mrIq1LQg12JW?= =?us-ascii?Q?65HwIncJbxAQiAJT2rFRKkZRTSgbQc4uaw7XVz+P+YZWAMaBrkPvP6GBzCl3?= =?us-ascii?Q?wvZAgsdVdmTI/0KCWKR8av2Q1wPF1UW8qBHAZC47nwUQW/miSzAFeVPZZHyZ?= =?us-ascii?Q?n/VKhAZlElXUgEKxzletFDwMa4mJzq0ajXHpEOimilR9TlWnlHve5Lnso71Z?= =?us-ascii?Q?EtND7Fqd80/zfc5tk+1uyGnDkxOWtFSf4sfHjh+aB54m0Lj6R+psZqYC0ECx?= =?us-ascii?Q?ORL/5gPMnfU7IP3BL9UFUbUImcqzpgRoxYoTHGB2/3+6LDSnyh7imgGS/9IV?= =?us-ascii?Q?ef5Qo1nCUBADoPClrWWY3eF4r0rJFYKRJR2tDGB3PQVZQzM6xl9DcR4rYhWY?= =?us-ascii?Q?DqrdXE/+fWiSp9dmhXY3MBidVmt9Z9ytIQUGLCs+fvfX0vt+4R/pYGtMSdAa?= =?us-ascii?Q?TjXr6aeOofFxluLqNnP5vS1v9b82x2flzY1UKjMC/L6fulnH+8QOrRyajbAQ?= =?us-ascii?Q?6Qfid0qpvs25JtcKijuHOu+5d5cz1c/1Cmet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GwWOwoxgk2AoeyuhSrR/kAOtMkn1623q/a1Mn5Cfy2jixg5SqVq8XCBV?= =?us-ascii?Q?IITNGxuhNIEl08WdQJ1y1h8=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 51551422-bee0-41d9-5c96-08d9e1b972d3 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jan 2022 17:21:26.3008 (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: XxgW+nfGGSPG99jjzoEVtbRcXZ3d4DsKs0giV1UswEVtkUxZd9ibRFQVQ1ysQKlE9JkcN7GIfi79xdwrrhbImA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9017 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The MDIO mux on the LS1028A-QDS never worked in mainline. The device tree was submitted as-is, and there is a downstream driver for the QIXIS FPGA: https://source.codeaurora.org/external/qoriq/qoriq-components/linux/tree/drivers/soc/fsl/qixis_ctrl.c?h=lf-5.10.72-2.2.0 That driver is very similar to the already existing drivers/mfd/simple-mfd-i2c.c, and the hardware works with the simple-mfd-i2c driver, so there isn't any reason to upstream the other one. This change adapts the compatible string and child node format of the FPGA node, so that the simple-mfd-i2c driver accepts it. Signed-off-by: Vladimir Oltean --- arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts index 177bc1405f0f..6bd58fd9c90f 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts @@ -314,17 +314,18 @@ sgtl5000: audio-codec@a { }; fpga@66 { - compatible = "fsl,ls1028aqds-fpga", "fsl,fpga-qixis-i2c", - "simple-mfd"; + compatible = "fsl,ls1028a-qds-qixis-i2c"; reg = <0x66>; + #address-cells = <1>; + #size-cells = <0>; - mux: mux-controller { + mux: mux-controller@54 { compatible = "reg-mux"; + reg = <0x54>; #mux-control-cells = <1>; mux-reg-masks = <0x54 0xf0>; /* 0: reg 0x54, bits 7:4 */ }; }; - }; &i2c1 { -- 2.25.1