From patchwork Wed Apr 25 05:36:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10361615 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 1228E6032C for ; Wed, 25 Apr 2018 05:40:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 02D8E28F41 for ; Wed, 25 Apr 2018 05:40:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EB2C028F43; Wed, 25 Apr 2018 05:40:56 +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 7DC3228F41 for ; Wed, 25 Apr 2018 05:40:56 +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=LD9gGotUkkHLETaMxJ9dlynBQl5/I7OHt9zy60CVHVw=; b=Sx5dOuSxEIt7sz CACGmipv027pEyXpDnE8DHVRBjSAJ8avgxj++HApkNNzlUVke63aURrbrgcF6DUwQauwVZqjFu4MN wE4QTXWQltz4dysdZKiBvdsrdQcggRz8z2qarfxPBgT1XxxXKpqNiXVz5oKHpb34elJyg4gSoMYuj 8LtlnZHUfQ5dLakL3PyF0Fp8E5X/weXiKIDbHur1tw+OUU4EzokM5lnvsjd+pEExUEY66RtWTYPJw 36he/+u5g62hdTUhhsH7jCLtQfFl4TAt0Qck/AdLA/ehsX8sJAILKc28Ft2GP6fbgee4sTwOVUtJD YHQgRTlfqJVUZxi3tDjA==; 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 1fBDAg-0003j0-Eb; Wed, 25 Apr 2018 05:40:50 +0000 Received: from mail-db5eur01on0609.outbound.protection.outlook.com ([2a01:111:f400:fe02::609] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fBDAb-0003hk-MM for linux-arm-kernel@lists.infradead.org; Wed, 25 Apr 2018 05:40:47 +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=dqvqSUT/9SRvQqgf0/8ivawdUaAHodM/w1ZbdP9mqfQ=; b=QZKZoV9hsRshEmm/OeETZ6nzypM/jqDr5n0/j4/3XYm0irodrpbL29BX7SDXhDhAGIn/IwVAXi1jyRlivwYMqd0yYPYcmzQroHZO284BQGYr0rTgMI8zxtLOuFirlCJEx85O2ewob4mhfKOoGyIsvz+woA1cnVi9XvUnLaMaHtM= Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by DB5PR04MB1319.eurprd04.prod.outlook.com (2a01:111:e400:51cb::13) 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 05:40:28 +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 V4 1/6] ARM: dts: imx6sx-sabreauto: add PMIC support Date: Wed, 25 Apr 2018 13:36:06 +0800 Message-Id: <1524634571-5914-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: OSAPR01CA0085.jpnprd01.prod.outlook.com (2603:1096:604:b::25) To DB5PR04MB1319.eurprd04.prod.outlook.com (2a01:111:e400:51cb::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:DB5PR04MB1319; X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB1319; 3:+sWx9RW2Nluk5rESvCiBbRk7JznlNfzAn/0vdTdTTELxFiFt+5fB75LqLLdpgpLDKUjXd1ZIQv5/WglnOl72x+ovGEayCoxiXFlkTPnA9Hs4aGV8KMIK+4sLtUZNShHL6ZlJUVuriFc3z//x6sSOP+VGi+Xl6wl6GRjA8vdneRuTzEh2A8Wb0uQ2BE6Rv+YA1/2fk+FR83hQdvwUX25UQAubHltK6rXbbZS6tWlbICZrhH8nuD1vlTdS5D9oehTu; 25:h7bEZp70thUFQmvnW6/U8LoOg6bi00NwzLuZPYfNr9pIXms6x/9M2WdmbTamERqE/0iZGuh941kuqaBz0jGDGbnXiwaM6IFhWV3HvcqMLryUcGlrdYR5PgsHbRzOpAUIPVDmluYPt85BUMVBpyXkm4khiMDKSw7GZUYZ1DXtGCN/UJspFTsZKuWDbxJyF7APTQio8jCych4gc2JbfxNPfOgRE++F8mteiJqm+M0+IkqPpqdLl4B75x8REMTOOWVzrLVuOObjiss3R5/qASbsrHGNvqggWG4TV5QNusXz6PuCp0RQc39+jaeAFemRP/NKxhULjRxlRIyWa6SXTcbamw==; 31:iJNBNe0vcHt9Pn4J7BQjQbDleA5w1XCN3tRYMJjedkQPRHOyDe4PgH8v0W72YiNfDkfJbAK5nRCHEvjkE4FylPzT51UNJRjxt176puiRV5IF7iTdBzkT/jK0+zeNuMFNhQpznN5l3IecSLaMi+FV4GQ1MlHi+Yrl+yKIhHm8GmprEfIoZ9pRm3++H/adcWXgvo1wSAWi61U+W1vZ4xy3gUs0VzAyFkuP5GuARMP5IJY= X-MS-TrafficTypeDiagnostic: DB5PR04MB1319: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB1319; 20:sUcfZwsL1vF5GlVAwihqBy/Dv5Xy8H3cwx7J1Dy1WAp20/FySr6fevRl7XWndm/QEso4oYiAfGo1GWSfTpfrnvRZD7uzM9hDc/u8kMpdp06juD4+vvIBjp2KfAdZouDo0LOligBgp2eTLA1igTx95bkfRM8OkgVBL7K1K1ujYzbljv9EjWya4gDKBAOLQ5m7k7/8/qNkCGBfusYKV18EMvwe8CDaxZPI5I4qAk8N0SI9V0JoDDTzQiZ7stE3nfeGX5nM21kI4YI5u8xj/h3U1hnVj0r+LCwNoPU09/Q/Xb9Z42wdCQaRhoXovf0u5twxCRacwsWYA6C5RuMKcf3Xu4pbACXtikrjcHso/qERjVkTeIslDC1ILxk88C57VWJI4pD2j8EjEGro9mT8qxrEfhssNaAxzn0KWfRvT4tcmTjh7YnSYPPnEuQTD8GD3S2dbieVLEHVQRddlBnXUEM2ZTpzXQ0uxHYJ5iT+VNsOXXpA09lPIAEkNNsjgxtaB8zX; 4:1oXJu9ZObBRTDMIOcewce63s0JtEvgz39p2LagoKSmnDppwgyrd4NqLM+DYPXT+GiJbR4oEpFd9Y8LRoaDWQUVuHBlivAYmcva1EyA6utnfp9K35AF3IYr8wXIg+7DERRMj4AvyboVq784qK4mw3I9npsC2uYzhXGyBv7rv9ShQPM15uFvXoLoHP/CtRUlok+GGzAZbN0YKMLZyv+FXDN3wm0hCqvJFRGnkAsH8OhHuHIRFDnBj6zGqcPyrxazQhBvs7frDgFd6Iy44iFTsgPKlyNmI83sxeHBFyPVrzj6s4YOjUJ93ka2AIGR7ljR7+ 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)(3002001)(3231232)(944501410)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:DB5PR04MB1319; BCL:0; PCL:0; RULEID:; SRVR:DB5PR04MB1319; X-Forefront-PRVS: 06530126A4 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(39380400002)(39860400002)(346002)(396003)(366004)(199004)(189003)(478600001)(53936002)(4326008)(25786009)(16586007)(6512007)(51416003)(316002)(6506007)(386003)(2906002)(8936002)(81156014)(52116002)(50226002)(81166006)(106356001)(50466002)(36756003)(476003)(956004)(2616005)(66066001)(47776003)(26005)(105586002)(97736004)(48376002)(3846002)(186003)(16526019)(6486002)(6666003)(6116002)(68736007)(5660300001)(575784001)(7736002)(86362001)(8676002)(305945005)(486006)(32563001)(473944003)(357404004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR04MB1319; 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; DB5PR04MB1319; 23:qUEtJjbO+hfI0YsP5dgy9q76r3v5syup2e9EOZt86?= =?us-ascii?Q?ueKJMQ9E6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hDXoguSZ+1KRMw==; 5:/vabrrYlASs+RlsB2vmc3jCslta3jvbQpwj64IlLXz0/mSCKi26XH+b6xET5dAa16HV3PZbraedw1l3YxJXn6SIha4SABsTSxgbxpl2H2Uq5ES6CxOB6RJamz1JmZTZLOU7Za16ILcPpbbZYRPFs8Gn/NdmQnRCQ8SBuPDZ4JbM=; 24:l1pCepcCgskzY2fiSCJIdJjyRkfsl3k7whbWeZuZoqOMuJVv/kluv1WMqkc/g8AuGLGc42TmNaYxhGccEZcYsKUKQ6FSb2uhbg+qQk4H8Ig= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB1319; 7:mtkvxmiGv3h8DrHXSoXNZtvW04Wb2FhRgXAFIAhFmSd571SpMN2PxsgYPl1msVZS81N9Jm1R3V7yfiJLQV3YAOFNNnS/ZFNs2W6QoLuUYRVpDnX1cETUPltGup96DLQ7y78vFymqcD91SsUJn7PTc0+A/xbloK/AwOB7b5cnuHJletL3ku/G65c0/xJbtg6kYqQdkWuMFkvZShphgCesXlHQjsXx7JjxS4LYJYhQWSlYny8cGhLEhn4K+gBrdWZl X-MS-Office365-Filtering-Correlation-Id: c25f0b2f-4d8c-455e-2220-08d5aa6f0fca X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2018 05:40:28.6413 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c25f0b2f-4d8c-455e-2220-08d5aa6f0fca X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB1319 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180424_224045_886225_4C0C099E X-CRM114-Status: GOOD ( 11.06 ) 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. 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; + }; + }; + }; +};