From patchwork Sat Oct 29 10:06:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 12682 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1275247wru; Sat, 29 Oct 2022 03:08:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6dlV31dERk85v92YGmDm2a2za3YvIZuDfnIlSCfz9KO68cElGjP0JunkLWMMg9p7zleDE+ X-Received: by 2002:a17:907:7f8f:b0:791:a840:56b4 with SMTP id qk15-20020a1709077f8f00b00791a84056b4mr3360329ejc.540.1667038122611; Sat, 29 Oct 2022 03:08:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667038122; cv=none; d=google.com; s=arc-20160816; b=ePDlxWwoclmBmuieov+1OiQqyztbQtjxZiEOmp9ZFmPPlaWg0y1o+wAZS6RwukI8y2 E2k4H3Gqgwn2HV7sboEll1sDWZu2PH+zUU5png02CNgW+n4EnbAoK4ACWLi9JTqU2Kqe 5Db77iHeI7IwP1LENDckN7b3di8CAvXUlXi5A6bcAcQQGZcs1sceC/RYembI5Maa2lZT +SnDW5dV4HWz57Py35ZN5yP/VojEX6HpBG4NJUeFX8L9uPQUt+BWLhwHIx4OkNASWaSE kBQzhLfIYS8HG40OsiK1ugrFBgu4TaJ0tnQUfE2vsEs2yV8e75DtIIigoHWMr2zu8x+m R2Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=wUID88ywaENfHCuE/a1VQCI+CY2X7CDgvVIC94l8daE=; b=vwkGBiOMP556g0xyzXGVTgkLT6wqaDeZURb69P1/yhT4repN+Rc8dv2mAtKchukmiL nu2za7k5soQb/JQJD2Fsb6SEygopOQ7HTJLMkSBydeIckUKIaloKDHbiSwQ12ki5euQ/ QmlT4chqLizU8AP9mwmMJbUUR68Ss5yTkK2SElz8GBey90UjKqWw+gof+FTMXPKUcZYJ nPCx/Lvc8PZCyJl3bbctZz6Of8RFWsFGHtHDwNixs7R0B+1epVfOKEpFaA7JUOHbc6Vm xGk/sw+e1MT9UHIeFHoguK2y0Gl+jTcwkHloumZ029AdSMDxtCqcTaBOJ/QojJBTJfsH PJHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm3 header.b=Crmxa+Rb; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=aaONu0qm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 12-20020a508e4c000000b0046190898e26si1208867edx.533.2022.10.29.03.08.18; Sat, 29 Oct 2022 03:08:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm3 header.b=Crmxa+Rb; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=aaONu0qm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229832AbiJ2KHV (ORCPT + 99 others); Sat, 29 Oct 2022 06:07:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbiJ2KHT (ORCPT ); Sat, 29 Oct 2022 06:07:19 -0400 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B665157F70; Sat, 29 Oct 2022 03:07:18 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D9A2A5C017D; Sat, 29 Oct 2022 06:07:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 29 Oct 2022 06:07:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=cc:cc:content-transfer-encoding:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1667038037; x= 1667124437; bh=wUID88ywaENfHCuE/a1VQCI+CY2X7CDgvVIC94l8daE=; b=C rmxa+RbBpQDQ+LW9OITU/iP6+S46ku70j0sxR4uga1ov20UBXUGoSzzSdV5LZAjE u9h0xAB6ysbENQ85IJgNJdhcRuxglKFB6dehlUkdmz/A1sz3qhS3X7wqRZT7bUzC LLY6koxxZmtCwiWFRooV3hN/bzGiuy7XVizFydRyQfqNhFzKRTxEQxezeMSwmhmP Et7mhk31f7zSblvnYHjaTiIdRX4+juqu6EDSnfJAzW/550fdtmjyUyEelRS4+jS3 IqAgj2aFVziNdGa1JQ+T2yb6mBzS4s8+YpXuYZ3XsCv88JvkzQ4r0m4EKCEb5i+I i4fkERfTLy262ETwSb0Ew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1667038037; x=1667124437; bh=wUID88ywaENfH CuE/a1VQCI+CY2X7CDgvVIC94l8daE=; b=aaONu0qm+RxneOSGTQDQ9kFncKg2J UvWFNfsA9QNtlQvBW3SY7w7y1DGjZBkJadRb3WNYulslbgXpMdz22oCwdig0luQ4 i9AZcVY7XCd+lx8VGxPJLjIVVNr4/E35stS5WkFo7LnqxsvBiR3O9pzmZIlvCvwS nFWyoSdf1/PLCTlsi3+PpadGG95MMU992+Ds0Ig49BI2olbeQXH4WyLc0LS7YpB0 RLQ+IawvZoM0eId2ZfxwIqC06ATAWkF/LSX627BFcu0T35Q7r4ZB9gAUf+UNbC6Z qxfeMzrh4rBzvmWoRpMS192oS0bWx5tx28FXWSzpZe8yiq9dZiTCXvGdA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtdekgddvgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehlihhsthgrihhrucfhrhgrnhgtihhsuceorghlihhsthgr ihhrsegrlhhishhtrghirhdvfedrmhgvqeenucggtffrrghtthgvrhhnpeeitdefkeetle dvleevveeuueejffeugfeuvdetkeevjeejueetudeftefhgfehheenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhishhtrghirhesrghlih hsthgrihhrvdefrdhmvg X-ME-Proxy: Feedback-ID: ifd214418:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 29 Oct 2022 06:07:05 -0400 (EDT) From: Alistair Francis To: lgirdwood@gmail.com, robh+dt@kernel.org, broonie@kernel.org, kernel@pengutronix.de, lee.jones@linaro.org Cc: linux-arm-kernel@lists.infradead.org, alistair23@gmail.com, linux-imx@nxp.com, alistair@alistair23.me, amitk@kernel.org, s.hauer@pengutronix.de, linux@roeck-us.net, rui.zhang@intel.com, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-hwmon@vger.kernel.org, shawnguo@kernel.org, andreas@kemnade.info, linux-kernel@vger.kernel.org, geert@linux-m68k.org Subject: [PATCH v23 1/2] ARM: imx_v6_v7_defconfig: Enable silergy,sy7636a Date: Sat, 29 Oct 2022 20:06:45 +1000 Message-Id: <20221029100646.294583-2-alistair@alistair23.me> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221029100646.294583-1-alistair@alistair23.me> References: <20221029100646.294583-1-alistair@alistair23.me> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748016166446523397?= X-GMAIL-MSGID: =?utf-8?q?1748016166446523397?= Enable the silergy,sy7636a and silergy,sy7636a-regulator for the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 078d61b758a9..81b0c674977f 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig @@ -222,6 +222,7 @@ CONFIG_RN5T618_POWER=m CONFIG_SENSORS_MC13783_ADC=y CONFIG_SENSORS_GPIO_FAN=y CONFIG_SENSORS_IIO_HWMON=y +CONFIG_SENSORS_SY7636A=y CONFIG_THERMAL_STATISTICS=y CONFIG_THERMAL_WRITABLE_TRIPS=y CONFIG_CPU_THERMAL=y @@ -237,6 +238,7 @@ CONFIG_MFD_DA9062=y CONFIG_MFD_DA9063=y CONFIG_MFD_MC13XXX_SPI=y CONFIG_MFD_MC13XXX_I2C=y +CONFIG_MFD_SY7636A=y CONFIG_MFD_RN5T618=y CONFIG_MFD_STMPE=y CONFIG_REGULATOR_FIXED_VOLTAGE=y @@ -250,6 +252,7 @@ CONFIG_REGULATOR_MC13783=y CONFIG_REGULATOR_MC13892=y CONFIG_REGULATOR_PFUZE100=y CONFIG_REGULATOR_RN5T618=y +CONFIG_REGULATOR_SY7636A=y CONFIG_RC_CORE=y CONFIG_RC_DEVICES=y CONFIG_IR_GPIO_CIR=y From patchwork Sat Oct 29 10:06:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 12683 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1275299wru; Sat, 29 Oct 2022 03:08:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5j71PISJmNY5DCM0TsFkASO+6/OgYgQrM1DaQ5u0pDQFwIByPHJ7Y7WnubsLVwMHDJQbBQ X-Received: by 2002:a17:906:8475:b0:7ad:c04:d3cf with SMTP id hx21-20020a170906847500b007ad0c04d3cfmr3115273ejc.463.1667038131428; Sat, 29 Oct 2022 03:08:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667038131; cv=none; d=google.com; s=arc-20160816; b=l4g9Z7JR1D3NFZ+2rGa9F6/jJ3mnArPitPdoaJT6KqClxz7qg2Fmgj83x7PSCqWHbp fz++ln6kwUrpY8JNPrHb3YS2Z8ue6x2oGkS+Y+NGDdLr0K7qEjdT76vH2u3IQZJ1CKOM +eAllBuNIH+JDRkaPQmdYRQwEMDjhdmMCGwwyxN4vkkadLv0bqXTkooxDQm+Q9ISIi/K zej47JiU2M+HLBrqQ8oX7o0oMpNLbAxE4mHBsCYjm0KMy0kB1ADQzik5P9PQXjC3k/68 fYlUmRxJbkuOLrV7yGzHDvcddUcyeA3zOR6AK+Vqm96F5Wnrl29nEB+hN1b5B4cix2tf EFnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=ii5FrCn9Wh+rrZgHgZM99N/eK/RiQhzg3xDbaGnZMmg=; b=QaHIYJtQ6rkEqHpkuCNPeCRXK2/8+hF8a/A53RyK55U1uvZGSa+9oLWdDX2szp0lSz AXfSpOpCdy5HUTP4XrdgADYy8ZSX1QcFdx06be7q8H8qEnVFQtVBg0h9GUgfb8UaDGed iJujlAqMdyGTO+0n4FKxNSKCFynck6TIi3wp2Xsw25yPh9fadcQ0mQGCyj0E/YkKNgAJ rbnb7ZmrxKjdSX/QPbl0PKjD52SVaYg+xiKy7SRUNZ0b7uuy3o88AgEZnWERiivs+/qX WM/yL0afnMvQC/hkJG5GAagsukEGJV1uiUEDprZyjShSnhjsPfYINOntY9madycrkDEj Ik0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm3 header.b=V5X78iF7; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JPAL25Hg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm21-20020a170907949500b0078797f6668fsi1189626ejc.364.2022.10.29.03.08.27; Sat, 29 Oct 2022 03:08:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm3 header.b=V5X78iF7; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JPAL25Hg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229826AbiJ2KHf (ORCPT + 99 others); Sat, 29 Oct 2022 06:07:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbiJ2KHa (ORCPT ); Sat, 29 Oct 2022 06:07:30 -0400 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A69D715B122; Sat, 29 Oct 2022 03:07:29 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1E4675C0144; Sat, 29 Oct 2022 06:07:29 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 29 Oct 2022 06:07:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=cc:cc:content-transfer-encoding:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1667038049; x= 1667124449; bh=ii5FrCn9Wh+rrZgHgZM99N/eK/RiQhzg3xDbaGnZMmg=; b=V 5X78iF7R8sq4FWmo7Ew6GGWW3oGpVOmY3K04uBh5nhyySETslK7WXhZ+eBCC6Hfc 6gzDyNjf09UqxPx7bH/JDuJfz2mmJYopjtTDLEvcbnEFm2X5aDhykot1337BnFdK KoEbxVvfjZyP2QjdA6bMdp3xX9+FwAM+zt/fCiYhRGVIb9anwKXGlujTbHXqogaX Oj7A6tSI2gq7Z6YKzUZpZhLnqjcG6RMGYKhS7lPJsorfEyrD1zytBgUgxrMkMGNZ rKwOVBJvafPRAOv54ghjHL2q7RheLzSlltv/1ruAbD2Jy84QedwsTRDAfTzea6eb QBLYCcsEcypHP9U7m9/9w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1667038049; x=1667124449; bh=ii5FrCn9Wh+rr ZgHgZM99N/eK/RiQhzg3xDbaGnZMmg=; b=JPAL25Hg9skLnFrvLVDV2Vw1B2Uvh twDXPKL9dxC5qpm5bXKbwbLBF8SInt8t7MtAGOF9IzDa8bhy5twdFloJ9oB4NQ1H AMT9mUIzRZvUrlx26vPlO69YSFk6a9Qk5gQpwbq/vY+0tVEjJKVloJsukbYLEb+A e1VvO+36TxDq1gPTEnHa+xHDlkLBqdjbEFapJt4ks0DKRNIh5gEW7dK+a+ZkyEVA 6y1JtbGO9fXCfjWLgiplMNR++GkYmo6eNNcqVpZHGxXAwujQ/6xCtr7g9XGueimQ PjLkSG6gJF5uy4JJMQ6dZhqdzkfHHo2h0fvmntECAWXB40ROZ/EYZpqhg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtdekgddvgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehlihhsthgrihhrucfhrhgrnhgtihhsuceorghlihhsthgr ihhrsegrlhhishhtrghirhdvfedrmhgvqeenucggtffrrghtthgvrhhnpeeitdefkeetle dvleevveeuueejffeugfeuvdetkeevjeejueetudeftefhgfehheenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhishhtrghirhesrghlih hsthgrihhrvdefrdhmvg X-ME-Proxy: Feedback-ID: ifd214418:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 29 Oct 2022 06:07:18 -0400 (EDT) From: Alistair Francis To: lgirdwood@gmail.com, robh+dt@kernel.org, broonie@kernel.org, kernel@pengutronix.de, lee.jones@linaro.org Cc: linux-arm-kernel@lists.infradead.org, alistair23@gmail.com, linux-imx@nxp.com, alistair@alistair23.me, amitk@kernel.org, s.hauer@pengutronix.de, linux@roeck-us.net, rui.zhang@intel.com, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-hwmon@vger.kernel.org, shawnguo@kernel.org, andreas@kemnade.info, linux-kernel@vger.kernel.org, geert@linux-m68k.org Subject: [PATCH v23 2/2] ARM: dts: imx7d-remarkable2: Enable silergy,sy7636a Date: Sat, 29 Oct 2022 20:06:46 +1000 Message-Id: <20221029100646.294583-3-alistair@alistair23.me> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221029100646.294583-1-alistair@alistair23.me> References: <20221029100646.294583-1-alistair@alistair23.me> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748016175760626009?= X-GMAIL-MSGID: =?utf-8?q?1748016175760626009?= Enable the silergy,sy7636a and silergy,sy7636a-regulator on the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 63 +++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts index a2a91bfdd98e..58581295b9a0 100644 --- a/arch/arm/boot/dts/imx7d-remarkable2.dts +++ b/arch/arm/boot/dts/imx7d-remarkable2.dts @@ -22,6 +22,28 @@ memory@80000000 { reg = <0x80000000 0x40000000>; }; + thermal-zones { + epd-thermal { + thermal-sensors = <&epd_pmic>; + polling-delay-passive = <30000>; + polling-delay = <30000>; + + trips { + trip0 { + temperature = <49000>; + hysteresis = <2000>; + type = "passive"; + }; + + trip1 { + temperature = <50000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + }; + }; + reg_brcm: regulator-brcm { compatible = "regulator-fixed"; regulator-name = "brcm_reg"; @@ -84,6 +106,33 @@ wacom_digitizer: digitizer@9 { }; }; +&i2c4 { + clock-frequency = <100000>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_i2c4>; + pinctrl-1 = <&pinctrl_i2c4>; + status = "okay"; + + sy7636a: pmic@62 { + compatible = "silergy,sy7636a"; + reg = <0x62>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_epdpmic>; + #address-cells = <1>; + #size-cells = <0>; + #thermal-sensor-cells = <0>; + epd-pwr-good-gpios = <&gpio6 21 GPIO_ACTIVE_HIGH>; + status = "okay"; + + regulators { + reg_epdpmic: vcom { + regulator-name = "vcom"; + regulator-boot-on; + }; + }; + }; +}; + &snvs_pwrkey { status = "okay"; }; @@ -177,6 +226,13 @@ MX7D_PAD_SAI1_TX_BCLK__GPIO6_IO13 0x14 >; }; + pinctrl_epdpmic: epdpmicgrp { + fsl,pins = < + MX7D_PAD_SAI2_RX_DATA__GPIO6_IO21 0x00000074 + MX7D_PAD_ENET1_RGMII_TXC__GPIO7_IO11 0x00000014 + >; + }; + pinctrl_i2c1: i2c1grp { fsl,pins = < MX7D_PAD_I2C1_SDA__I2C1_SDA 0x4000007f @@ -184,6 +240,13 @@ MX7D_PAD_I2C1_SCL__I2C1_SCL 0x4000007f >; }; + pinctrl_i2c4: i2c4grp { + fsl,pins = < + MX7D_PAD_I2C4_SDA__I2C4_SDA 0x4000007f + MX7D_PAD_I2C4_SCL__I2C4_SCL 0x4000007f + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX 0x79