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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 98EEEC64ED6 for ; Mon, 27 Feb 2023 13:54:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0C34985A7B; Mon, 27 Feb 2023 14:54:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=asem.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=aruba.it header.i=@aruba.it header.b="HLbeQj+r"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 40471857CA; Mon, 27 Feb 2023 13:56:01 +0100 (CET) Received: from smtpcmd03116.aruba.it (smtpcmd03116.aruba.it [62.149.158.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D12D5855F5 for ; Mon, 27 Feb 2023 13:55:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=asem.it Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=l.ellero@asem.it Received: from asem-TANK-H61.asem.intra ([151.1.184.193]) by Aruba Outgoing Smtp with ESMTPSA id Wd2rpaAUehqTrWd2rpGvmb; Mon, 27 Feb 2023 13:55:58 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1677502558; bh=zK83+t0yBoTLH3FBZOxlFxWGHVz0BWOT1gyzoOhRFNU=; h=From:To:Subject:Date:MIME-Version; b=HLbeQj+r6KzYik4qxcrjsA8rlI6VbHIQis/1R8nhETXZth6SW14nC6K5+o6S32NkV RQD2U0h0SrWF8W1wC8LqH5MOdqiZaLBMHODoYtqiBOJa75lHqTsh9gw2eC2F9tkT76 zLQhWBwzkjY1R+lhAUn481elLXwG+WPTa2K+nubfgexTL5FWub4UT/+DWnJ6Hx4N/1 sbLUrHctt3q06lb0XWipy7f66w6S58sh0gQH8NcBp8mC6h1d/qSd8g6dsxgZPWFmW6 C2PGLcRYqUK5L8JFHrO+bFiP0NLmi2RnKwQtvD16ghMKHrVQejqa4mWqHH8TQ1dwDV 5yrA66Wt0OmMw== From: Luca Ellero To: u-boot@lists.denx.de, sbabic@denx.de, festevam@gmail.com, uboot-imx@nxp.com, luca.ellero@brickedbrain.com, ye.li@nxp.com, peng.fan@nxp.com Cc: Luca Ellero Subject: [PATCH v3 0/3] imx93: add ADC support Date: Mon, 27 Feb 2023 13:55:54 +0100 Message-Id: <20230227125557.10237-1-l.ellero@asem.it> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfC22eyWmgj9Rq0vxNV2v8zzUl46wENwtKYGvHf5sU9Sm/WEF4ipR4wlfs0tUGbSdlhBfoZ4gryoHeRXJnZ+QfTSIzWdwHMgoAnHfj+BtjTRxZJXm4Pqb Vi9sRJx/F9Z5rhCNUelJADbxZDk2d2gq2CvxwuJvlizRo9fnMvXhRtoyyEfcTAMws1ts7p42zp+xuQOo/E27mUfLXhnIhzRjdvGv8lNcSU+OVws6lsr8xvRv SvyQL8LVktec8r2MLmw1fs0YltwnWfZ1YtD07zq59pxSzDtqC4a+QcgpShRq7vAV0jsgvZNZn/dxXMi7oIYonQ8sCZLhwU9C5R+rUA37DoYO4bBKXPZ/w9mr d50OvnxFXrkvLFICLsAPMpplE0FKVV4ctyV3ZNrK3q/pjOrYkv0= X-Mailman-Approved-At: Mon, 27 Feb 2023 14:54:14 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Add ADC support for NXP iMX93 Changes for v2: - add "static" to functions - enable ADC in iMX93 EVK Changes for v3: - split in 3 commits - keep dts file in sync with Linux devicetree - add comments to commits Luca Ellero (3): dm: adc: add iMX93 ADC support imx93_evk: add adc node to dts file imx93_evk: defconfig: add adc support arch/arm/dts/imx93-11x11-evk.dts | 4 + configs/imx93_11x11_evk_defconfig | 1 + drivers/adc/Kconfig | 8 + drivers/adc/Makefile | 1 + drivers/adc/imx93-adc.c | 284 ++++++++++++++++++++++++++++++ 5 files changed, 298 insertions(+) create mode 100644 drivers/adc/imx93-adc.c -- 2.25.1