From patchwork Thu Apr 26 06:58:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10364785 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 52A48602DC for ; Thu, 26 Apr 2018 07:03:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 404622904D for ; Thu, 26 Apr 2018 07:03:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 34AB129068; Thu, 26 Apr 2018 07:03:18 +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 9E3092904D for ; Thu, 26 Apr 2018 07:03:17 +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=T5DkFoj0YJsLRNGEX5bbuEFv2ya528U8CVKHtKH5UI0=; b=QgJ21knclBWP4s BI7uJa1SXBb+zDbRS4GzYEFwYrhzfK4Z2J+JUD2j2pgLioIbLPO0izqcYTYBlU534yX6su2BnQWxd dI7E+i8hBkXVvCCIG9n0xzvSIs9UB+Tc65zkNwOAp7KqlY1o7pnxxpUARv9Ib0+fEbEU6+a82KbuT mE0XFIX2Uj9HR4Y5E73G3secJkqf2Hd/22ICkv9GNQ6UQdEBqXmNZPM4VTPynJg/KErpRDbOqK+t4 LY66XmPhx/PWyDk1S9RdgZQQNMIYfOQ5a60Y44mDTEKn5dp7nT5TH85/rMH4pOjBVAvmnlJiJt3kU gomVVfnt95lHxNUsgP+Q==; 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 1fBavs-0008Vl-UO; Thu, 26 Apr 2018 07:03:08 +0000 Received: from mail-ve1eur01on0056.outbound.protection.outlook.com ([104.47.1.56] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fBavk-0008TL-Tz for linux-arm-kernel@lists.infradead.org; Thu, 26 Apr 2018 07:03:06 +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=njZZfSWE8N2zhDODY9LznLCGfGWJkH5XdmovgwdzMug=; b=X7Ky5o9KiNA/Ct/NpyJ/5aaie9bmfmbnJ2WPRb1yMhiaQKprfPJ3WD4nP2A910uOPX2ZQun3RQdXWUyINFyR6aqmXcOhkcirJtXxTFxCzV+KGePzdTOpou+eJJEhfMfDRmjgvCjodI6OraHHhYxcPrTcbS7TbnFU8NrTBQFeBb8= 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 VI1PR04MB1327.eurprd04.prod.outlook.com (2a01:111:e400:5187::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Thu, 26 Apr 2018 07:02:41 +0000 From: Anson Huang To: shawnguo@kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk Subject: [PATCH V5 1/6] ARM: dts: imx6sx-sabreauto: add PMIC support Date: Thu, 26 Apr 2018 14:58:13 +0800 Message-Id: <1524725898-27974-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: OSAPR01CA0162.jpnprd01.prod.outlook.com (2603:1096:604:d::30) To VI1PR04MB1327.eurprd04.prod.outlook.com (2a01:111:e400:5187::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:VI1PR04MB1327; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1327; 3:kw+HVR4aCUb9s6yHMl+/10a+vZD65OqtRVOKU6JBIZgiEAzIa24J/BK/T412ZKbzWMZYHJymdG63acE1NLW8SuBym5USAbJIbb7gUEmebi0SVPh+eXVtJ/b6K+tklLTeM7RNvTJlTsQifc1rAuQl33ZhenyD6RDqSey7zxApoCrSCpFeysteuJYbVX0WskAZOQmwnl71a+K2sg6ttf8/voFyQoJUCOcBSBE3r/lUbYPgCSecBd33JImhJXPCRxHA; 25:VVgf3tNPJeQX7qdeobuk6AeQ6pXlRsb9f1k7ZBtYaVFzk2LpFNMV6IbhrebpB3TCagAssJ3vBXqCnbV7PXMlV9q5yZgKq5ytLgqrn4cwugtyjEee91pQdaa/n3IlprGBQDIHBFk2Jo0G2TV+5xpJpFWuPAlvT99QUdkX5W1RDhlNMvpI9bkW+b31DE7LNx3Xb+R55RqtrapaZdO77tUO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4tu+MWs0kZCzCD2gqX9DPSlNCjR48ARLrE5DDkUNv6QveD6t5aHvJoaNQYMj9/tgbw+LuRz3XX3/iMZshZtkKj+fz1GVTjmsnvFV1I4JTiGmR0hA2deeyFKmU5tQkZwud90bOjxLvlwrV1D3/7l9KSAkl7OG3Sj+aZE1SPJBU8FYZn6mWuMY9tmJjnNwDUBAZCK0f6S5feKgrqGk 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)(10201501046)(3231232)(944501410)(52105095)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:VI1PR04MB1327; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB1327; X-Forefront-PRVS: 0654257CF5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(376002)(39380400002)(39860400002)(366004)(346002)(199004)(189003)(36756003)(2616005)(106356001)(8936002)(6486002)(97736004)(956004)(50226002)(25786009)(305945005)(7736002)(8676002)(81166006)(6116002)(478600001)(81156014)(105586002)(16526019)(6666003)(51416003)(50466002)(3846002)(47776003)(52116002)(386003)(6506007)(6512007)(316002)(16586007)(26005)(2906002)(186003)(53936002)(486006)(5660300001)(575784001)(4326008)(86362001)(48376002)(66066001)(476003)(68736007)(32563001)(473944003)(357404004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1327; 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; VI1PR04MB1327; 23:RmK+36u4xu/FRWx1kqqAuULuwEB+9NvEQS9SpkdSA?= =?us-asc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2ISglz/ldfr2cQ==; 5:u69zvfbEdALW+ZYpwZ0j/J4gj4W69LZzlsEP1j4KZCHtEKOR24F08c2d/bSxBQxIGEILJjFAel7H+PPzI8I9d1yIv/rVR6Dp7kfy31wBL61E9pfGvxS2ZpUw1oghtAz4cyseo42cnMY6UjDMWeuLOFNXurOp6b2OzWGgB5iLdqY=; 24:/TqN/uJ1VSOr5UqZldRQRGW79pI8Z2JXMI7JX8Yudm3GHPm4VKdr8NjIg6c/x2hvS+l1onzFMdq5deuq0RMl75ygLZL6tInDra25oWtmRNw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1327; 7:AOGI4sbgHpuaBVqgougg7I8MABPl+u3DuFV9/zhbbNyGDRJjYJZoLG7wgigZ67SVLaq5kpJnjF83Jx/+PmsIQFty9WLAFVegc/XQw97OPi+tJmamkkXDBZt6vORT0jzi4a410+14t0+ozpc5odo5j+8/ejmw4SYkh3pB0n6XdPZ9LBZ+T3RoUQmO++QZQTj9zv3OvAhkgNvFKWu8xwxtU7XyDphIwBHaOfSfSGlI8Fzyhjva2YSryHp1fcUEw7Zu X-MS-Office365-Filtering-Correlation-Id: 81c99714-94c7-46d3-4b7e-08d5ab43b68e X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2018 07:02:41.5165 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 81c99714-94c7-46d3-4b7e-08d5ab43b68e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1327 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180426_000301_164758_C38BB167 X-CRM114-Status: GOOD ( 10.76 ) 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 V4. 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; + }; + }; + }; +};