From patchwork Tue Apr 24 02:04:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10358469 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0CA8E601D3 for ; Tue, 24 Apr 2018 02:09:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F06B228D13 for ; Tue, 24 Apr 2018 02:09:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E45F128D50; Tue, 24 Apr 2018 02:09:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7124D28D13 for ; Tue, 24 Apr 2018 02:09:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=6vN8T5HOJId70XuasS8whzi+l3+7BMX78F4eHJdl100=; b=iRDu1BZM5KGcVe lJWYmtIpZxJG+c3i7jSL2IcyN4PVIr4EsX77rbOhvM9hBQMp5P359o++BiTWelu/Kd+c5kOsylCHg KXcox/N6Xct7/ZCwj0ONbYmgoL6rAtxQQJWBFRfCpSgV0m+8Pn64eQzKPZvfbwjgv8fr7vtJsyG+n ZLjLoI69IIdo5pBX8oi34sQhJ3ah8fQ69Jogg+5dU8+C2txGcdvUCZ4AUKGnB2m5LN//JKg1FYwI5 gAx+PnVthG7Ul8of4pfaaE6Xcj+PIDjvYTQYoU+UMcb1yP5gYkp4o80vArL0IIg9kq4DMWWCpnWNe kDvu3+hK25DgYZAw8nLg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fAnOe-0002Sy-E1; Tue, 24 Apr 2018 02:09:32 +0000 Received: from mail-eopbgr40066.outbound.protection.outlook.com ([40.107.4.66] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fAnOZ-0002QO-Iy for linux-arm-kernel@lists.infradead.org; Tue, 24 Apr 2018 02:09:29 +0000 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; bh=hBAcwGtGiwkjMe8cTejg3ZChlWLn35M4ETRmkLTh4L4=; b=wgAKf051NivSQVscQTFVdHuq4m76N6CAQM/AUXSauEBd/BjM+/uKAaSf5NAAYcnYj5ORXRAfiuE0q7K2+CglingjusDy67XNZlEmVFbsr6h6IyA/oMvvz0IC47Ukea3gAm4VQEWkCwEgOgIvzYukGWPQaPbu0JqYuq+Zk61Yjzs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by AM3PR04MB1315.eurprd04.prod.outlook.com (2a01:111:e400:586e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.13; Tue, 24 Apr 2018 02:09:10 +0000 From: Anson Huang To: shawnguo@kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH V2 1/5] ARM: dts: imx6sx-sabreauto: add PMIC support Date: Tue, 24 Apr 2018 10:04:57 +0800 Message-Id: <1524535501-8567-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK2P15301CA0023.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::33) To AM3PR04MB1315.eurprd04.prod.outlook.com (2a01:111:e400:586e::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM3PR04MB1315; X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB1315; 3:AGj7+JoL2zBIEFnjIkTs0g9W2B4rUUA4ShCdm/emL3q7MVjidV61dAorUzLrLE1Pb6KUe9Hd2iGosGZQi5t6aVos0fZDqaMQCXYbVv7UD5ggCfhtwTqVFBNlSwTlqXIkn6vt4vk1mHB04HdhNtnsA1k5iLnQoDUb7J/PUiapyuILwXa7yHbkgirHv1vWiy1jzOS0YXJ5jVqgWD/cbG5ppr5olpEP3EAIaK0wpj0E8mMycBJ8l0uFh3OqhUS7dkRB; 25:yAqKjfXhQL8hXfg28d0lbzF728gavAh15Y+zlZuO7X3oeP6lhBEArp+w7PcgdtnZSFDQJVDM+HlW1LECOVd/Gk5dmGaJnFnH4YqQlF9zxq3yBtUYFHqdC5dqLVZGLxOMGd2siF9uzxe4pQ3/mUA+ca7l3G06qcQ636Dc6krYi7iMoVxNOh/3HMv8fxL5lHa9SuplwYa67kJ4fuvbT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kuccw6xK6cHQZu1BIRUDlUgw9VbenfldukTBPvxeXOPrt4u81MignFNIno69WBJLCaZy4WX+YfCOjTFNmRKbejRB8kf+P79EmC3ux7aKxHrkVS5q8Dh/1dtoW8E9QnhDsTyv+goSp7G+pZAF239UumanL/SJDFVTk6LQT5fC405bUelxDIYoQR5cKdmlmuj7bus8HA/fMviaqf X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231232)(944501410)(52105095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:AM3PR04MB1315; BCL:0; PCL:0; RULEID:; SRVR:AM3PR04MB1315; X-Forefront-PRVS: 0652EA5565 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(396003)(366004)(39860400002)(376002)(346002)(48376002)(6116002)(6506007)(386003)(6512007)(53936002)(316002)(16586007)(16526019)(186003)(26005)(52116002)(51416003)(2616005)(476003)(25786009)(575784001)(86362001)(8936002)(6666003)(956004)(6486002)(4326008)(50226002)(305945005)(7736002)(5660300001)(36756003)(2906002)(3846002)(66066001)(47776003)(8676002)(478600001)(50466002)(81166006)(32563001)(473944003)(357404004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR04MB1315; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; MLV:nov; PTR:InfoNoRecords; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM3PR04MB1315; 23:VPYTvw8yvktgHYS+yBKJ2XrifXHVoCKpU2VK5LPGa?= =?us-ascii?Q?3f/ZfKHbqE2swkhDnLITp5f1GM2VRkIp/VyiECKZ6PNFRqrD6C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qxsoDMS7P6NB2/I6E7e8zWj0xoAs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB1315; 7:sEWl38tUJosW/X79WxAbeczDRweruxhmkTpZ31NoqxpIvGW5v8jyHWTzdR2rKTLnSw6+zJ1CfNBdV3VGePaGsRdl11P099ZltJi46tWTtXYtbbPMeIEAuY6+sgKaN9uDHrt5R/vYUF9kXM4aHIVDUt12MDXoXdYh5yGKc/7kiOP5pQSM/5DlVLRKO8VBvSNa1/O2x1/Bhsde0vAU6FPdP5zgtiIwNjWOLpABylckLEk7VYEgqwVlE5ZHimHZ9lSY X-MS-Office365-Filtering-Correlation-Id: 52556a43-a5f2-4225-1778-08d5a9885fdc X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2018 02:09:10.1624 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 52556a43-a5f2-4225-1778-08d5a9885fdc X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB1315 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180423_190927_768232_0E73BEE6 X-CRM114-Status: GOOD ( 11.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add pfuze100 support on i.MX6SX Sabre Auto board. Signed-off-by: Anson Huang --- no changes since V1. arch/arm/boot/dts/imx6sx-sabreauto.dts | 117 +++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts index 57d1ea0..2caca934 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -74,6 +74,14 @@ &iomuxc { imx6x-sabreauto { + + pinctrl_i2c2_1: i2c2grp-1 { + fsl,pins = < + MX6SX_PAD_GPIO1_IO03__I2C2_SDA 0x4001b8b1 + MX6SX_PAD_GPIO1_IO02__I2C2_SCL 0x4001b8b1 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6SX_PAD_GPIO1_IO04__UART1_TX 0x1b0b1 @@ -148,3 +156,112 @@ }; }; }; + +&i2c2 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2_1>; + status = "okay"; + + pmic: pfuze100@08 { + compatible = "fsl,pfuze100"; + reg = <0x08>; + + regulators { + sw1a_reg: sw1ab { + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <1875000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <6250>; + }; + + sw1c_reg: sw1c { + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <1875000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <6250>; + }; + + sw2_reg: sw2 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + sw3a_reg: sw3a { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <1975000>; + regulator-boot-on; + regulator-always-on; + }; + + sw3b_reg: sw3b { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <1975000>; + regulator-boot-on; + regulator-always-on; + }; + + sw4_reg: sw4 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + swbst_reg: swbst { + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5150000>; + }; + + snvs_reg: vsnvs { + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <3000000>; + regulator-boot-on; + regulator-always-on; + }; + + vref_reg: vrefddr { + regulator-boot-on; + regulator-always-on; + }; + + vgen1_reg: vgen1 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1550000>; + regulator-always-on; + }; + + vgen2_reg: vgen2 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1550000>; + }; + + vgen3_reg: vgen3 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + vgen4_reg: vgen4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + vgen5_reg: vgen5 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + vgen6_reg: vgen6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + }; + }; +};