From patchwork Wed Apr 25 03:30:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10361421 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 CFDC7602A0 for ; Wed, 25 Apr 2018 03:35:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C003127F60 for ; Wed, 25 Apr 2018 03:35:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B48C728C3D; Wed, 25 Apr 2018 03:35:29 +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 535D527F60 for ; Wed, 25 Apr 2018 03:35:29 +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=e2FzHz5vAm+fGv951bqFkiGhijQ2kCUdoIbL0XLvTdU=; b=chcD0hpjMvVIBR bvk0/FcdjOxw3RnUW2u0mZR5bv0yCMSCEG9WF1h86dLIP4z5ocEeYO86NMo+m+1GiIz1vydGaDB1p Fcx1aKtRfw74+BIvB6jG7Al735nF1PvpYEt9Ge3kwc7MnKe5LoSu3IZ3m7ADD6k996S+dNMsGjz5n A4jvJM0RWnGkwlxNcIbIiUWCjENI0l6t8z0HSVKvpolGF2vLknCXAX8z8WDjH8j7T+n1YNBlNdREK 1oQHPLgU5AIlJv3Yq0CGu3zJkqnM4qE3lU25o37Fdjf3kDWMKFLMUzBAKw0zZ2l5q2a286J5oOLSX eGgdIyHLVh2jjs41PIEw==; 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 1fBBDI-0002pr-Go; Wed, 25 Apr 2018 03:35:24 +0000 Received: from mail-eopbgr20048.outbound.protection.outlook.com ([40.107.2.48] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fBBDD-0001xy-3j for linux-arm-kernel@lists.infradead.org; Wed, 25 Apr 2018 03:35:21 +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=zv+dy6u0muGpSN45O289IVRHxywyYDcq5R6NIIzMy28=; b=WebrhWwKA7WqN78hWH/4IFWZu08YzqF5WkgxCbXleFHyt080pa9RpSpHZIC86tptcxSITnvlP2cJbJ1RDSxk35+flFxTeBq7yxXQzfuriCyDEpWyj7S+R7QLuoOSXS0BJQsvYN99hPpB3Z+09cwcfWdZxGew+1OJioqDN/kTrYg= 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 DB5PR04MB1317.eurprd04.prod.outlook.com (2a01:111:e400:51cb::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Wed, 25 Apr 2018 03:34:58 +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 V3 1/4] ARM: dts: imx6sx-sabreauto: add PMIC support Date: Wed, 25 Apr 2018 11:30:30 +0800 Message-Id: <1524627033-535-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: TYAPR01CA0073.jpnprd01.prod.outlook.com (2603:1096:404:2c::13) To DB5PR04MB1317.eurprd04.prod.outlook.com (2a01:111:e400:51cb::11) 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:DB5PR04MB1317; X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB1317; 3:IyRh0vFli2LKz3nClLXw2pAyJPwOreldBMWXotYxptcttZ2aE/8iPz7aGJxX6AJxP/eXxcTW9+CjM4qdhS3SkdUYzWMWTATKSsTnbXZ4RxYpxsSS/PxKQRl6+YZwzt5DT1krm2btk18kgjlj/91TA7cQxJVq5pJTkdHg1AYC69HBJ3wHKLzls/tUIexRXckft/2ig7WnySpaIL2LdoMzsK70E4WX1K1aGs1yU9kT824+QNg93Ujxv/xEMWk1mRi3; 25:0nxdtU+qaz8lr42uOtEhV7Awh4UucN+gsmGCJrkfiLH5Y0/nCrOfPy1S1vn0wX6lrTwLCdP3pbHHOiD+m3IgXXS7oAJa/ET4nG1Tfky33+kzJAd96KKpTEe0WbketIUncLIURoNU+jHyQx1TzF6cB0bAFpwsqpbkEwPbYUUESmrh+nSzLNNxuMiVIwkIHElY4CvAHfVZMDxGRl5IxcFe2aWwWZObC6J0o29Jjg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w+EFmu2MW3A40Rsve8sjrzM9oCAbzce2lriycrg5/1OClbIFqLF6RcYdFqSfYTIz3Luk16Xufff5wyTeb4gsdsc1jbkUYoZaSG2wjvHSMxeIqvb8m/9Wt3Kihss/LK77/DF85MbGvMKYLXI7yTOfx3uZB9O0fp4ArKG8mCyzxYnXnWe4 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)(5005006)(8121501046)(3231232)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041310)(20161123562045)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DB5PR04MB1317; BCL:0; PCL:0; RULEID:; SRVR:DB5PR04MB1317; X-Forefront-PRVS: 06530126A4 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(376002)(39860400002)(346002)(39380400002)(396003)(199004)(189003)(36756003)(478600001)(97736004)(6506007)(386003)(4326008)(25786009)(6666003)(53936002)(6486002)(6512007)(86362001)(8936002)(105586002)(66066001)(106356001)(47776003)(68736007)(48376002)(81156014)(81166006)(6116002)(50466002)(5660300001)(2906002)(8676002)(2616005)(575784001)(50226002)(3846002)(305945005)(7736002)(476003)(956004)(16526019)(51416003)(52116002)(316002)(486006)(16586007)(26005)(186003)(32563001)(473944003)(357404004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR04MB1317; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB5PR04MB1317; 23:uDEn9eKpGdKwYCtDPaB6xd/4pcjbn/KC6bCZayEba?= =?us-ascii?Q?WKI0b1UziKIP5CRldjBM8Cz4qgQ7xk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F6t8WR6SGq+nmnlnZVf4qr5KljsMqnhl53ygs4bQk5Lc3KddWvpX112pbCuSJQHVumwe35x8rBEft1gEjcNuZ9Lbe73BuYZKHj+rj413GUlL4n9jVjcfwVHrlYJEtg4Ms7DyvMWQJSYhj/0OPEke5yrf/T/9ipvESOgLY=; 24:w8bsoli7W885Oq+cDZcWwILoYJy3avG0N7ir5ZozzP/0LIEt/Hnxtj3idNshvNZ4HPO9wKmFcDk6Lpee4wljnrxeK/BkYQzlmLJoLzfLA5o= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB1317; 7:69RoXBZ4OQxHn9BaFNJwSwpGPHgTyJep6I+Qz1CfRaEeMIBh8wX24SZ8/q1DOZN0bDEcVz1IKDhSw65skahPqCCtj5y1ycOk935N5SFcx4niqOzi5UTKbTT+Uv7UXj+NwNbxD0/WElavfTUTXzuztGTufm1hVYHr0aCwBwlRGisVCXKWUkj3D92DKZPgV6pbvo1Fsnq2xLxfVxDt9OYbFZKyKtf5/k6mGiVRh3J8IHifZI6kuOafe1Xoou+6FUfx X-MS-Office365-Filtering-Correlation-Id: 83250267-1ff3-4db3-4897-08d5aa5d87f8 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2018 03:34:58.3760 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 83250267-1ff3-4db3-4897-08d5aa5d87f8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB1317 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180424_203519_339138_86A49178 X-CRM114-Status: GOOD ( 10.97 ) 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 V2. 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; + }; + }; + }; +};