Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2359174rwb; Fri, 11 Nov 2022 08:14:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf4BQNcQ8bNfXE8h2w2uUG3RAFLaxZC9xoAb5gfSPywz4sqpdNkDWugJ46wLlzSxzOy61sKF X-Received: by 2002:a63:e05:0:b0:439:753f:c81f with SMTP id d5-20020a630e05000000b00439753fc81fmr2385088pgl.51.1668183294797; Fri, 11 Nov 2022 08:14:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668183294; cv=pass; d=google.com; s=arc-20160816; b=WdDrUJ2l2VNw75m4Cq5uS7dTrbXbKK9o8PCOvr4i2ZN6fOxtUQBMBUrKiB3racpor6 id9cshO8zCc4w2PyvoQ16y3fbLRrL1U0hiQm70jkXNeD1/WpfOwZxekhkLKKAFNYD2k+ GCZKRYfzWKpdAGdr97s+2wvpOivtPifd1cAVaN622U19Qg+/sM+KuGqosqzZKVrVszjl 2jGZylY+hPf8ZhwnpkYSv0+uIVdZEXMFpgkrXKkpioOmB00z/9nah92z9oiN50qdJu8w VDGwdH6+l10CjnBL7ycM8WlPjeer0+1a78C6rPYfpB7o40LXpydZjs1eI8zl3Ii4taYl NDgg== 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=tNERjs0wXE4pViRLRJId2KWBGuGqdPFKI3z65I6wMzo=; b=ui2HrIYFZKiaTOZZ+/9VBGIEed1Nh2dOUAMtqinv5frOJtDFfHW6/6hqTi11MQjRAL AvXphamluTNdoN1uqdJI/lNBoMJWgQtCNsxGuz77IgCUaZoi6YbwcRCuGCpfhaWDeNVX SU8wtxO4SoxLlQhufluBicLn/3r8GzGnQKHZQXFHwaFd8LP6sk6gCn+XASRNClD2XW9Y KoDbs0u7p8Hau/IMaTAC7/P/Ia6OrsXxSLrVX8ON6cu3sFTawiNj0wx+zrsLX09L3fLg OH/nPblM85Q7uzd/fmlLlAWf+3C8rf8Gzor+AMzfvZoBFoLSzS5TxOWzXH5s16jyE37U cSqw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=cXIziP2F; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 7-20020a630207000000b0047011874d9fsi2857236pgc.627.2022.11.11.08.14.40; Fri, 11 Nov 2022 08:14:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=cXIziP2F; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234160AbiKKPsX (ORCPT + 91 others); Fri, 11 Nov 2022 10:48:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234121AbiKKPsR (ORCPT ); Fri, 11 Nov 2022 10:48:17 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70043.outbound.protection.outlook.com [40.107.7.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7F1256EEF; Fri, 11 Nov 2022 07:48:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L+9dXhlCA63F3mRjyANvQZPSmegmPKRL4mxXSkr6ZK440sF9qvztbTbEj9XdW6sYYdgHdJSD1Boi/vwM07tQ5yg007D2a8bwHxNac/8P7KyKFKkUGQih5pbAzZ/aXE1R0/SWIbjsaSEvzFfK7WCS0Q/yybyg1ApqNpKI7t0snWn900CB97hCoSCXwzau9Na054PDDE4+y0ieGG4GjOStdSky9PuYgTca71dk5UtpalshoVC+vZJ9AgU9lUAlxNegDSIZQGAXNstYBYRXJRj43B7F5ifNgraIF1lhfcaM3xegAFN9PgKwRxLIkv41uyjDUPRduU1jWYa3anCHrbWjiA== 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=tNERjs0wXE4pViRLRJId2KWBGuGqdPFKI3z65I6wMzo=; b=buv43DtHS2HoXWU1lx7bMYp1TG6QtYzKuwmdi/Lgt3ZhDdv+xaSRG3+zpp6zrHQuC5gS/dWh+VbVGR+wXKBzNmUGNZJdALdaH5A/cUSMGSdz3TaVkJBFu23IAzsQRXMvKmrM0FoVxf8/WK4LZbxpYtqaUB5jpCiGZsLGSt8VTvO8ga+L1waG38v1za3avDNqb+niHiFg4l93NA09l5dwxiII1gYDwRJcmElUS9vnZ5FPYoNSouuXKle+NXJJkfJrsk3OGMm0WphxlEj1mqTS1bEyOvo7y7QFxNxmzJoTkCt+VzPgg9nuNQLSyK4210vvXEku9AmfCDdONw4DXPb57A== 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=tNERjs0wXE4pViRLRJId2KWBGuGqdPFKI3z65I6wMzo=; b=cXIziP2FeFAp6pV76jPUIH2yGBeGpsFGEpdFm6P+opK+7k4CtCtA0wHSte3wlsZhcZGGyetQaLLJ7XUgBf8V/bK0UX02EbMtA8Cdkf4m3ig23sLTE3MvBt4KgQkCnhFb2i+gJ7vXbphfE6U906ug03OwWmDiTHxmiADl+P4bhrI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from HE1PR0401MB2331.eurprd04.prod.outlook.com (2603:10a6:3:24::22) by DB8PR04MB6969.eurprd04.prod.outlook.com (2603:10a6:10:11b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.22; Fri, 11 Nov 2022 15:48:15 +0000 Received: from HE1PR0401MB2331.eurprd04.prod.outlook.com ([fe80::a405:3557:91bc:9230]) by HE1PR0401MB2331.eurprd04.prod.outlook.com ([fe80::a405:3557:91bc:9230%12]) with mapi id 15.20.5813.013; Fri, 11 Nov 2022 15:48:15 +0000 From: Frank Li To: shawnguo@kernel.org Cc: Frank.Li@nxp.com, aisheng.dong@nxp.com, devicetree@vger.kernel.org, festevam@gmail.com, han.xu@nxp.com, imx@lists.linux.dev, kernel@pengutronix.de, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, peng.fan@nxp.com, robh+dt@kernel.org, s.hauer@pengutronix.de, shenwei.wang@nxp.com Subject: [PATCH v2 2/6] arm64: dts: imx8dxl_evk: add adc0 support Date: Fri, 11 Nov 2022 10:47:38 -0500 Message-Id: <20221111154742.2753318-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221111154742.2753318-1-Frank.Li@nxp.com> References: <20221111154742.2753318-1-Frank.Li@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR05CA0046.namprd05.prod.outlook.com (2603:10b6:a03:74::23) To HE1PR0401MB2331.eurprd04.prod.outlook.com (2603:10a6:3:24::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0401MB2331:EE_|DB8PR04MB6969:EE_ X-MS-Office365-Filtering-Correlation-Id: 4573ccf4-d93f-47d0-6a2d-08dac3fc2505 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EIK/R2ZlQoWN1KhmWYI3R2L44UJ7djJdL79v1A7vzgaDdTtEmYyVgGFGDJwJGsqf4vUGELZDYU4XMEnfYqtSy0mSN3wzIj1dCpbHkVRCJ4lzMmiZX2TqMiU5pFMmNLp8jxSanCWW/w7UQNz0WFr70QYcFPgTB+uOmw14kwt32GLu2HP/xeLRPZrurNUdPNirMsRWvYo4feGqHd0FLlpzuthjL8H3SBQbTwQmTSRFx1DbAek00sLuiFa4XnHn52dr0CO9YW3LGyV6tm0lns+BV77HHP4RyWLzcKtwXikND/D3ZFpCOGo8g9io5TX7HCeukmA/N0GX+N82773lgylRpNevBPgCJZkxNj2pzRUCtEH1kSPy+mnnSVYmqkCoK9izuk8sE3sTEoRfOb2PRmYevmPxK4E1Q8l2FoO15QFoC/zcLEgO9FtH9qCpK3/S+OJ3kLIYs3W5K3cYMA/3Cr98XWA0bHcFWgObMq5Ytrja49zu7i0Gse0dcWeSC105+fHCBPACH5Bu44kwoej9LODcMF2NFmNuiXNVKH/dBJDdjXADF2jR6dj6IA9HtrtpeTxiLXGzmsSEGKvJO2ubRrxTk5jTrL1o7OwRbqeUd+TYwVn4FdVhfItkjvues/GbYZGhEtyLdaYC4/puhGctaR07mLHYfJlHTI65anyNLp/D9dfFwL7PL5eCXD8q9DoZlTztV/ce2uHlqAy8o349jlLV9Fhw1zJqoZlr+oECbyiqxyIfTijR1tJATEAsAcY9yh+doPVeVrwCtiKLIDYQUM5X5A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0401MB2331.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(396003)(346002)(136003)(39860400002)(376002)(451199015)(86362001)(66476007)(38350700002)(38100700002)(478600001)(6506007)(8936002)(41300700001)(6486002)(8676002)(7416002)(4326008)(66946007)(66556008)(186003)(2616005)(316002)(26005)(1076003)(6512007)(2906002)(4744005)(6666004)(6916009)(5660300002)(52116002)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?PvrVAIsHf9pSGhiRyMGKCK51iS6imt1KBlrVSoX7j0X4TfT4SiDVQy49wqId?= =?us-ascii?Q?PrDX/XJ/K9NdykXCdxXCQHljGTLToaITnpbFQ/qDEmmJDyAE2sRWcvjA2+I0?= =?us-ascii?Q?Mu5zYjInkUVnkQKFOTZSyQd4z3BLSu2oY/JCMOPph88E2LirAmh0yEwknBbz?= =?us-ascii?Q?jdoC9gTO7wINWIBYNTFeZSrRFl4dlqw+djpKMkMwyXyc5ySWwQHtr7Mey2Or?= =?us-ascii?Q?CzyAlNGXSABLRUzyR1jIMEHl+tGBcImC18+2NTahYkqC9V/17Z9ufrxqa1p+?= =?us-ascii?Q?k9wl/jTYsGZEeJ21mDL1Ajnshlr0qya0zFmBlrAO++F5pu7WbekPdP5/CjQf?= =?us-ascii?Q?Ux7hGtHJ0UfFazLl/64OR5Le8mzBHSyWmtrRqg2X4R2i3r3ZnIbF3slIJ3+D?= =?us-ascii?Q?gRQ1HPBIDUS1oJ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?Q?FYjfGdQP5RAGyvtKkRAkmenay+MzPHdP0ErJC4I81l6DLLom7hc3556hG2KW?= =?us-ascii?Q?b/BH+4FzXNdVqQ4ltezKKOyBCbAXd84tOSgLGxj6tdMpgeDXTAuRkcKwUZ6G?= =?us-ascii?Q?I7FBVSDhkybrVm8ZxDZlAdf0hhaJf21hc05foVM95s8YcJRgM5kNz9+QBYsL?= =?us-ascii?Q?nheykWX/x0AYEySpP6GRkKaIFke+aDsKELyLqzsmyAD7ygyQDf3TS5wMij3v?= =?us-ascii?Q?S2Cd7Z6dyJQhxUwoj7E=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4573ccf4-d93f-47d0-6a2d-08dac3fc2505 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0401MB2331.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 15:48:15.0539 (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: Ii9LxqHbcc3lapXnSZjLlCMsHw+Lp0ibV/RrIIF/0eHvY29HxfZyyZvyFmlbasSRqq1Zzq/WOipxrbGu0tYnjg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6969 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable adc0 at imx8dxl_evk boards dts. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts index fc9647ea50e9..11b1ff90c06d 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts @@ -91,6 +91,13 @@ reg_usdhc2_vmmc: regulator-3 { off-on-delay-us = <3480>; }; + reg_vref_1v8: regulator-adc-vref { + compatible = "regulator-fixed"; + regulator-name = "vref_1v8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + mii_select: regulator-4 { compatible = "regulator-fixed"; regulator-name = "mii-select"; @@ -102,6 +109,11 @@ mii_select: regulator-4 { }; }; +&adc0 { + vref-supply = <®_vref_1v8>; + status = "okay"; +}; + &eqos { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eqos>; -- 2.34.1