From patchwork Tue Aug 27 06:47:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying Liu X-Patchwork-Id: 13778980 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011046.outbound.protection.outlook.com [52.101.70.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6E84149C7A for ; Tue, 27 Aug 2024 06:47:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.46 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724741267; cv=fail; b=lWTj2Oe5ZfGuF/0TiTAZlk1qf20Do5KfSdyLWlXVrUvHYP4nj8JlIJqR6HBRIm72BfnxYHdZ2gjfqZ87Yp1QVsbIptvq/eyimKn7JqnS7HzfqC+bvyhClBaiS8h3NIc7Pn4aUVMCzhcEwPyt59nv2aMQmMS8lTOq/mh3tn9rGoI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724741267; c=relaxed/simple; bh=oHkBVVw8AdPIvKezniim+NsGmwQAcCMYFLIl45cfX2Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=nhqbQXD1nXWkf6ADyEOgxDx6eL3ZkqmQ7FG4Fi8JB7EPZHujh2RN+k6DemmAIeIiqQ57EvlY4X4Ltnm3GaVSB5sWhceE+FIkZGKP6/SaTHKhP78uN3sAE1SOAvDi6HOneuY2PyQzdbah3IM3IAuIkCbdF90bUR+/CTe7Z+OiB5c= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=bHosxXqC; arc=fail smtp.client-ip=52.101.70.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="bHosxXqC" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bQLz+OobW31U2XkXBTqqGaj0WRasKfSbmY1qZFOk4iO2n6sIDAEgx3n4yqLrG1h+LE8dHYxfWVbJyjwyEf/UCi1bwGK23HO9/4Ri6PMiyFxK8Whf8D+7DmQbvPWY7Rbug6QVZ7to8bWRsnWELGWBgVIvag8megH9+vylWrmFbKfQ4pNO8qURQP3Fhl5ST3pBUlhhtL0wp3sm7ckt6tbMvV4P16RoE5aC5anzu9MHuwWjdTgHekk7KL66UvWqdO9rVKU1p2ArjFMAP8wKGNdhwrsRE4Qz1tIkEc6yHphNhhYWbk5DDlFNCmcZwn8UWXiO9dWQnQXlnzsvLwuZLtqewA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ZghnHVVIcM07nYfbg6XQ4rWSVA4Dihrv/ejgOqUWm3M=; b=EfLz4cwb273v+hAfhTLnhYnvJmq+n6b6SWAmZ7cp20TI/+RWG4n5kW9KN0Kv+/2nik+qS3TuGMZwp6kAJRkWchWJDBlqPyZ/ez5BB7AQR2a7WnY3FebfeYy7qOOo8mbnjOK/iX8xmKjHM9FVpy9J2ePFVu6yyql5Yo/HPmJNvt4rYO1mTH99N8u8GkRD3XoyLFThrKLoY2Bu7OsQ9xO7EA/TB4zKcwubtc8jYY+fnej/RHLDEGFSHzADGv/6hcUAL9AcTS2nUEAo8cGjEIy6MWK64A65I/q0DOO0vwhi7T2YjzuYPciGnFBqzNjmbk/TOkyQEjjLJiuElGV/wtmTDQ== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZghnHVVIcM07nYfbg6XQ4rWSVA4Dihrv/ejgOqUWm3M=; b=bHosxXqCGMEX3meue50N2pr83DNiViK16yrA2ruu0uAU6J+E5PMiyeCcuUvwQ+W93bcE1a7fpV25pLP/Ey6S1orvrRF5CxTMaU8wKrmMVj22P+aIHsA1F3ht4yCEAQbnY1EVpCsv4PR8gqxbAgOhecAKymhyYDdvzwcSP2yfjWzDbsiCpb8rWTEbgMRccUFOP1tzIpsK2Xqq4bxeTb6SYxivzV20OPUl/PtwgAaU4M7m6cPnVKpSkZJB2B4JUSEa/6g8ixk/htRQmWEFX2tTYcHtEcmdI7YJH0KqhKjlvQINkFN8Yfk0w2lrLxcrPbQbnKgIaJQRM9WJyqtCGw4bwA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by PAXPR04MB8559.eurprd04.prod.outlook.com (2603:10a6:102:216::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Tue, 27 Aug 2024 06:47:43 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90%5]) with mapi id 15.20.7897.021; Tue, 27 Aug 2024 06:47:43 +0000 From: Liu Ying To: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, catalin.marinas@arm.com, will@kernel.org, quic_bjorande@quicinc.com, geert+renesas@glider.be, dmitry.baryshkov@linaro.org, neil.armstrong@linaro.org, arnd@arndb.de, nfraprado@collabora.com Subject: [PATCH 1/2] arm64: dts: imx93-11x11-evk: Add PWM backlight for "LVDS" connector Date: Tue, 27 Aug 2024 14:47:16 +0800 Message-Id: <20240827064717.2383292-2-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240827064717.2383292-1-victor.liu@nxp.com> References: <20240827064717.2383292-1-victor.liu@nxp.com> X-ClientProxiedBy: SG2PR06CA0200.apcprd06.prod.outlook.com (2603:1096:4:1::32) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|PAXPR04MB8559:EE_ X-MS-Office365-Filtering-Correlation-Id: 0f42ad95-cd31-4def-5a59-08dcc66426d8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|7416014|52116014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: WBnCnKwFBrsXnG0ssYDvuRy7dilRkXjBGf0yqwIsjEjwPVVNO40zcneGApNv1KXf3pTaK+zzm3e2VmnXd0ddJuM/We09JDLpeGO/xrGirsJx+adqARsPLSMHUkisK56CdJPbfK62R8FXWO3HTRvXUdO5RbUYS/7HurEFgE8Ywd3gGsBSWij6CxjZveC5vN6ZpcpH1O5gzN1UNQqUULXAFfIgVm7V5X3hX1Dvss6x/DjVJ3LD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bE7kaCmXMdtfl+B5RB/Lsfq1hU0yg17PANLDIjHSU83rWfV5nNo3IMbXKRYX6NMe9SAY2pvgXLTcwYZcwyTQkwhVZqRpWv0pHLnCVQtPe8yA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(7416014)(52116014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ICZkl2LwZayCz+LTevcTXTh5p/iK7zw1RU5uY7KNXjC9lIYF4Bh/qUUH8JrAJHH2X2I6Ob049L+GwBVhdj0vsv7FSrwxOtmxJEsJUNzug4owuL5GU51QIOhr0izyLflyHQRT6UufcYLGacV3p1H/sOr+Y8e6IH706XmfOeE7qN84rQL8ZH3Pwz+yghwXDLjRjxpmoJ+OnBLCFbvRGS9e55XdnfFR2pqG9O3LYcD05Y3jnEZijsM2O0WL2NjJ+T5Tk95tv+IfH+lD9uM3a1JrUI/pECHAX5Rc4fu6IDxQJXACQVTgv1/6OmTmbLXO+Uy3st+f4zVpgKQeQNHMiEjunfCzfTGg/NhnpzjAbTdk7yqtr+dOwrNJonmnAXjjF6rw97MV9RQTwMPXW28ZZBBruFjq5crqM3P5Ekf5jsXGc1oHc7GlpYh7V1OvGrj6myaSl8CvaHmzVnufkxhgd6IHgRQg7pGSDZTFzamWnF9TwzEtE5j91RQD+FdNQmkIPCtfpu0gwVYPhPiDqJoqm5Pj10orVAO1BkVMMLN7AwhuSJUTAULzLqi2HUE/LlrbfGzRl2IS2sdJBVRG8NhAaI2/B84ETpJsXmCaL7pyi9jDNzep1BJzo/YOhmEvYfFZggksGIspL74+g/gJJ/gLRpNnjmLgrIeq6yhTgXs25atUyphieTkDQfryP0VRHfTEeXqBe5UrBYO4glKxaGeLnVhmNLHV4KaOHmHdskbpwX3xFgZ7f2axu37JaTQs8X/FQoStExLdkuv3d2RqEIBHg79W/LEU/lkLHwdhzsdT4ZFZaz+arObA0rzth/GVuVKjSzpFPG8eWrOx16Fp2fH5xfU6QtWKsamJAtECjHHNm3kpChdYbK2ImRK1RIg5kC+27Mqzhcv3L0GIbYjspMiW/JgktnnIwWNOcxWbX7LKbixY92XeCQ8WdgOO1QgRLBsgVWWcbxJNKYWdjKQZWcbGc1aLx1fEC5rwC33USwH8jJAMtUtD3LfvPFYnVjpVndm7WN7mffSXDrpCGZzX5xmOrfoUmPWL0uqFhzghARfkR5jeWlbuJx8h+S5dqHk+jCaVvYtTCIJ9Nt/Qzbe9p5id5teXmYHav7BqFm2kkxOXj1pnzpdG8T7B3WyNZO1dezUUll8f2i8a68scIP2qyfAdkkF4EuzJ7r8/1ebAhMqj3KrrAiuysM6Wu8S31RtuS+NKQ7wT5IZJTW7soUm6InTa5pLUjDd+dKeGesAbO99nE7b+izFDLJB7LD2rb9PgAZ9XJ5PzYpGIRI54mQdP08qNo6mq88EGTPwRr3/CFPJL7iyqtiPB3YZP+CIanTVKSJUM6fVQC7U0ck9xO7E42Fl1+JQuaDvsjxe5KyUJUV8+iVdOoW/ZcxpmNHPvHgyguk3jihrt7FPz/KxrAJiiDM/BdJUpO0u05Sb3JVOXxHfZy6MBAs0vpENuERPM2dNDgGS3D0Lbivx/fK3oJPBx4e4BF1WQFfRdlYA2JpeMt55lUiHJcwVIxEAMrJiN4RbVp0DKiwPHKkJ+7RaqbvDIKOaf9nuh+JXI/lwj5DJRLXYHXMvNeBri0DIuTVj19yDStOoQu4NL X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0f42ad95-cd31-4def-5a59-08dcc66426d8 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Aug 2024 06:47:43.2752 (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: ZuPEeIuHvvCaS0J8OyfavAp1ifGNqo4uG0z0fdj6elq48wtizBYyi+CmOdyb840owT1zCj9eyY0Jan+DjWO2Hg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8559 J702 on i.MX93 11x11 EVK base board is a 40-pin connector labelled "LVDS". This connector supports PWM backlight with default 12V power supply and ADP5585 PWM controller. Add support for the backlight. Signed-off-by: Liu Ying --- This patch is based on next-20240826. .../boot/dts/freescale/imx93-11x11-evk.dts | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 60eb64761392..8d036b3962e9 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -62,6 +62,15 @@ vdevbuffer: vdevbuffer@a4020000 { }; + reg_vdd_12v: regulator-vdd-12v { + compatible = "regulator-fixed"; + regulator-name = "VDD_12V"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + gpio = <&pcal6524 14 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + reg_vref_1v8: regulator-adc-vref { compatible = "regulator-fixed"; regulator-name = "vref_1v8"; @@ -81,6 +90,17 @@ reg_usdhc2_vmmc: regulator-usdhc2 { enable-active-high; }; + backlight_lvds: backlight-lvds { + compatible = "pwm-backlight"; + pwms = <&adp5585 0 100000 0>; + brightness-levels = <0 100>; + num-interpolated-steps = <100>; + default-brightness-level = <100>; + power-supply = <®_vdd_12v>; + enable-gpios = <&adp5585 9 GPIO_ACTIVE_HIGH>; + status = "disabled"; + }; + bt_sco_codec: bt-sco-codec { compatible = "linux,bt-sco"; #sound-dai-cells = <1>; @@ -302,6 +322,16 @@ ldo5: LDO5 { }; }; }; + + adp5585: io-expander@34 { + compatible = "adi,adp5585-00", "adi,adp5585"; + reg = <0x34>; + vdd-supply = <&buck4>; + gpio-controller; + #gpio-cells = <2>; + gpio-reserved-ranges = <5 1>; + #pwm-cells = <3>; + }; }; &lpi2c3 { From patchwork Tue Aug 27 06:47:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying Liu X-Patchwork-Id: 13778981 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011045.outbound.protection.outlook.com [52.101.70.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72ED01494CF for ; Tue, 27 Aug 2024 06:47:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.45 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724741273; cv=fail; b=jP8SL6iQ4w7apAa938XkqBq1r8+Sm00QpW6WzvNxlUGuru09mN4OQvy23Xsg9xQZpcJ/kqc/0WNiw2Cs2gCClCyucerrD6lM8Y7cYd6T+Qnfv8ZSAlUcv8i+kJ4+2GsxnTi3eQmgUrE5cwMeDUOH49RDQE6W1WVVLcPNr5gtDXA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724741273; c=relaxed/simple; bh=l76tGLebT4V+hxetRy1r4xuEMSZM+vtG3hUCm9d2G1o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=MS57MOXW/loTAhKeTHZrtdj89iOZSYOyed+fAxqy2ge//oRTOUlxLg4mHE19nZe2vnvq9WmTVkL6bYQTkdJ1rTB0wG3Cfvuzrkjb8F4EAP8w6qPV9g8TJXyeoiJVE1FNd6ogggQWL0IAfKUULP12Oz4o/cOwZNNXHLEc9NckiZ8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=HmIPoU60; arc=fail smtp.client-ip=52.101.70.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="HmIPoU60" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=m6lL+6AbNGZPSgTjk2JSbI+du+qgOTYLBJiMTPbC/YeWUfyovy4n/S/vgC3pmjKPkpRjpPvygG1hZ5i4baBpjJj9lDO+qeDoBHLT5gsGqdQUuySeKuFZILhHsRu4Yaoz5V+thNNP5V8IP9SVbRBgsmqekvfTifpVLeuv+HeMBosP2di/jIyNA7KXsarSmwpsRk21Pm+Zbtmu9OLAE2mRxPluilON2gPrT55dvTYQJbBEW9/pHNWuxOkKM7LETLUMFaKlHwnHIxFag2NniFV3ENbzPHvjFw+I1OlGqSCkIGD/HM5fhZ4K18x5Ef4wapRXYkIyftpEVsFENcQDpRyyNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=nW08k3ioO76vabMjipcCDIyBYrDNnSwhxWFN7k7jy8A=; b=vWhz7A9XwKBQ4VComiPWGfjycbD55nXLLjVCWWUcShXQVksROhsIEu+YoPN2/ebJrRD66RElLQ3mJf6+vcT89MH4d8ox4/pJg70eSiXHdFyy7THtOsJpC+deCSHjdQObpkXwBZlt22oOS+hEvRvxbucFObRslQ9l7hx7jc8ICOpxOhl2mqqbvZaNDr7sms+A3421TS/W7DEqAdOlxK6lUMYkDmOhQR8ODHmo5WrGr7j0Ihf1wndTR/UhL2DPXMP+J9NgnecPWThI4dXFca2dZe5I06G2PA3DSwaABDE9hOdMElS+kKi8O0tjWEya1/6DzFGbHB0eZ3hogXq3ZHHZ8g== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nW08k3ioO76vabMjipcCDIyBYrDNnSwhxWFN7k7jy8A=; b=HmIPoU60pRNIfeCrMZnUzpsjVFzSmaqbGiQSV1Nw/dnPSeVesibCkxEEOfZeNEAqyj0wF/xOVxnqhYhfEIwXY57DaWPGiWmy+oFPu14Dm518KVnZcw/VuqFPhOKf8xprAoTth6m3+Ux8qywx6wk+hUBlXgOODDIAchBt6qwGuHxD8h5bIyfaiGir/wa6JNu4JQmIzl9VmwKRNXPao+5Q7E2rbVhqOQXz8dteG9gNJIHZDzUeuCdF92U6CqGzXIyZTcLehyKYdG8azE3e9EwY+oZpeMsHSSipRbFRlCMBIo0LZKT4c3KnW95bVY899xlKzc+cdNd/2UOMzJoSKcym1Q== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by PAXPR04MB8559.eurprd04.prod.outlook.com (2603:10a6:102:216::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Tue, 27 Aug 2024 06:47:49 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90%5]) with mapi id 15.20.7897.021; Tue, 27 Aug 2024 06:47:49 +0000 From: Liu Ying To: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, catalin.marinas@arm.com, will@kernel.org, quic_bjorande@quicinc.com, geert+renesas@glider.be, dmitry.baryshkov@linaro.org, neil.armstrong@linaro.org, arnd@arndb.de, nfraprado@collabora.com Subject: [PATCH 2/2] arm64: defconfig: Enable ADP5585 GPIO and PWM drivers Date: Tue, 27 Aug 2024 14:47:17 +0800 Message-Id: <20240827064717.2383292-3-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240827064717.2383292-1-victor.liu@nxp.com> References: <20240827064717.2383292-1-victor.liu@nxp.com> X-ClientProxiedBy: SG2PR06CA0200.apcprd06.prod.outlook.com (2603:1096:4:1::32) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|PAXPR04MB8559:EE_ X-MS-Office365-Filtering-Correlation-Id: e8f71635-fd8b-458e-7cd7-08dcc6642a3b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|7416014|52116014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: uOO35zNFjbx6Abjc5J32vrwPN1ohUcZQt1g/M6FwWlGgFarECVvD55A4gbFDdG1ArsFWq05U91t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v7VPYRp+V9BIRpaSg9Nf9xQon91RbR8VnZJI8UA1ewgentsDBBrYJskaeeunMwO64r+9F90wAucCcoUDcyY/Y1NehtUbg+Ajg7nmhjoLgAE4uh5mG6wzONyskDSxO65zmna41oik8xBZpngLe6bWaouOswJMaoCqOv0iC7kso1bmkA/NpjIXoovoCc/KPfhnairn9uNcvZ/ILjxAn5e8bioQKz1SAqmUejLG6/YwY5hJ5XjpLgMwq1ivvJ1hdIEE07C/o3sHZPZLyHhX/Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(7416014)(52116014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LjjIxu+9pWDq7nUOemmvfmssdqdrXg9nHCS5DisTNTsXywPk8gb/zjmL/5liyOqpqViCQ0i6KgxmkSxfGiRwwWMv0tr3mPh/VpXQlY9DKdE+TiYy6/g2jp7EZPBLzspa9BjLgDTtbNAtVRdm+QFV5czya0qPQxklSbpwKVWiMbW7pMVHShTNVYZaPN0OnmQcgXRCt8W3Rqz01Vf0WCVFhjQ4AKBIF38/jhMrOCdyK6zweYBuLuU/5crBQ2OKdb1UdobqUTOQuHgMHK/X5DkbaESGzVeE4VZ2sFnhoFCpjierbP8Y3j+2uW5a2JPNCzCzdzXooo5Yt+Owqu8k44YyW8PRspz7HiXD2CV9oWhqpfiZS3ibInql1qe+BEILLOtYCrvdQJJYzasatxrz+xC6XTDKaGR5Iu0pGrNfaLEgpysxcobOnS9TQ9mEY9EdavrcFzLYWQ5V9ckq+G0lQSJJmA17G6Y0OLSIBRaENhg/klSLCC/y7WFp4MXvyCxUHdFOczr6bFhvhD6SdUgqbMygWNFmeSIWha9Nhzqu0Pyt4/YGcrdzWGNKy7Ql5nh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-08dcc6642a3b X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Aug 2024 06:47:49.0214 (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: Lewu0+R1EP6sBBukwj+yNmQM+jyqoa951ma0VRYMg5vkxoYcn7ODpIhWV/H6bBqWl028pJQuUO4MTSvaS+xaAQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8559 ADP5585 is found on i.MX93 11x11 EVK base board as a GPIO expander and a PWM controller. Build ADP5585 GPIO and PWM drivers as modules. While at it, build ADP5585 MFD driver as a module because the GPIO and PWM drivers depend on it. Signed-off-by: Liu Ying Reviewed-by: Krzysztof Kozlowski --- This patch is based on next-20240826. arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 81ca46e3ab4b..4904bfa73f85 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -657,6 +657,7 @@ CONFIG_GPIO_XGENE_SB=y CONFIG_GPIO_MAX732X=y CONFIG_GPIO_PCA953X=y CONFIG_GPIO_PCA953X_IRQ=y +CONFIG_GPIO_ADP5585=m CONFIG_GPIO_BD9571MWV=m CONFIG_GPIO_MAX77620=y CONFIG_GPIO_SL28CPLD=m @@ -738,6 +739,7 @@ CONFIG_UNIPHIER_WATCHDOG=y CONFIG_PM8916_WATCHDOG=m CONFIG_BCM2835_WDT=y CONFIG_BCM7038_WDT=m +CONFIG_MFD_ADP5585=m CONFIG_MFD_ALTERA_SYSMGR=y CONFIG_MFD_BD9571MWV=y CONFIG_MFD_AXP20X_I2C=y @@ -1489,6 +1491,7 @@ CONFIG_IIO_ST_MAGN_3AXIS=m CONFIG_IIO_CROS_EC_BARO=m CONFIG_MPL3115=m CONFIG_PWM=y +CONFIG_PWM_ADP5585=m CONFIG_PWM_BCM2835=m CONFIG_PWM_BRCMSTB=m CONFIG_PWM_CROS_EC=m