Message ID | 20240729-max77693-charger-extcon-v3-9-02315a6869d4@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5011CC3DA61 for <linux-arm-kernel@archiver.kernel.org>; Mon, 29 Jul 2024 17:52:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=wyvnu66sWcNIBHuBSqyZilcpj0nKWP7q5mWgQAuw53s=; b=D9Y1DTGvvDUAbgxThOxV2LpdJI o5EJyE/H6MgENaE2+hgDtUEMG6iPfj8H/wkb7V3i1ls5SqttemXKIUuzXt1nUPuNcizz3pGONJjRX xm9K+5zTUxi1BCE8VUb6JmYcvyHWYjfPwQeKOuutB+T7+coKzwdDU7CcaeCXkJz4DcGWXJJ+lgw2O +K/E2pCgqpyPvTeHGkM49gHc88X3l3WQ1VH82wW958cc9Lr1ZoBE2mTv4MXSbwtfgyOA9ol2x19iQ QjaLb1vZwzWM2ocsfmFZ3x3BMmdvRtT63dovL4E0LasRd58PnnEyP2gRAfaghaoy97kdJLS32ZCfm MvNLM73Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYUXP-0000000CGTa-0KQ8; Mon, 29 Jul 2024 17:51:59 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYUTd-0000000CFHl-45la for linux-arm-kernel@lists.infradead.org; Mon, 29 Jul 2024 17:48:07 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-427fc97a88cso19493025e9.0 for <linux-arm-kernel@lists.infradead.org>; Mon, 29 Jul 2024 10:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722275284; x=1722880084; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=wyvnu66sWcNIBHuBSqyZilcpj0nKWP7q5mWgQAuw53s=; b=C2zjSxLoIkv8QleuQXV/7LhuskM53a3yAiU9br7xaz+3T4xOG9D3b1X78eoQ32m8sR iLfUyZLU8JNtV+qGI5FoOVFJIYdYb6d2tef+9C8CwhDDVdo/mVldcji46hO213+hepIG +oHHI2qe6kTdUTA0rAD5geqH1Hgz7VPwEaIUT7L91cHQARoKfky0CJ4y1OcD8YtzIGxA jHP4sJsIxEZu9HxHJrwM/WSeGawe4HaVjgLe8Vhhhp2PX+fwBoRbcYcOy6Ro6v+FQGgD EDzbcw5Pwjgij75hKvID4X8FdSAB4riLYOkW021S41lVvxJckknhlPpkGWPrZvCyfKUX +m5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722275284; x=1722880084; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wyvnu66sWcNIBHuBSqyZilcpj0nKWP7q5mWgQAuw53s=; b=hMp3+uEZ2E2WN2nVgV7OUzGxpbdPAU0FpM5n+s/vBlWXliSqO1rAuBce+fBlvx/evy W2EzZqd6qxPtBqI8a9pKU6UbgUKqYl6gAFUn09Xg2zR3BciHa8vbDE+lKIdOMrsPKyA9 XMpig3DKz6a2WhAzO+iY1VzNvcUGe+OiFLR8YC0F9YyT0nCPGk/cMaySKOrw/aZb03SX mxtWary/eA7nNBuiGOvRj9drg9kYEWbOWfxRwE4ZFm0nAsTVjb8lOT0rNJOasK7eE29u mskEduq41nkYh0iUQBbDahrvVVZI8mEFjQhQWnMgVFSj+FZDjVn6ERDheRXKpns+Sg6p wdEg== X-Forwarded-Encrypted: i=1; AJvYcCWjVsA/HlHejGwzPjoC/Zm1qJk96dDCtm+atBisZfaNCIc/T6THPIBaHkOjcSxEfIp/2+IJiLg1xxaSzCvzdi9oiK4NrM/dYRwbG1rrCk6+gspxNH8= X-Gm-Message-State: AOJu0YwDpNhC8aPCgOoJAEDNqpS1YoFg2jmwOQZRaAipdx1jhLZuGrSh FOYFaXuwBXjdjp8nZ/0Thd/oHhuh6H5LqMHSV8fWaJp9Z6Y0x3IQ X-Google-Smtp-Source: AGHT+IHbq94wdyrtZpENkrilKax9bwCk8OWQRo40k6RV87e26CshVbjqr2TeVfo1dARJco7mmmoLBA== X-Received: by 2002:a05:600c:3505:b0:426:67ad:38e3 with SMTP id 5b1f17b1804b1-42811d73aa0mr59536925e9.3.1722275284340; Mon, 29 Jul 2024 10:48:04 -0700 (PDT) Received: from tablet.my.domain ([37.30.0.99]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36b367fc8a7sm12716550f8f.59.2024.07.29.10.48.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jul 2024 10:48:04 -0700 (PDT) From: Artur Weber <aweber.kernel@gmail.com> Date: Mon, 29 Jul 2024 19:47:43 +0200 Subject: [PATCH v3 09/10] ARM: dts: samsung: exynos4212-tab3: Add USB connector node MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240729-max77693-charger-extcon-v3-9-02315a6869d4@gmail.com> References: <20240729-max77693-charger-extcon-v3-0-02315a6869d4@gmail.com> In-Reply-To: <20240729-max77693-charger-extcon-v3-0-02315a6869d4@gmail.com> To: Krzysztof Kozlowski <krzk@kernel.org>, Chanwoo Choi <cw00.choi@samsung.com> Cc: Sebastian Reichel <sre@kernel.org>, Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Alim Akhtar <alim.akhtar@samsung.com>, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Henrik Grimler <henrik@grimler.se>, Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>, Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>, Artur Weber <aweber.kernel@gmail.com> X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1245; i=aweber.kernel@gmail.com; h=from:subject:message-id; bh=9RZit0ywU+LgXYJREclxZIzCm96R2ILsMrecyNIUIjE=; b=owEBbQKS/ZANAwAKAbO7+KEToFFoAcsmYgBmp9W/Y8o9dDElXSehvfvPuAOvEJ/fVGJd/Jg6J qJYSkTgi4uJAjMEAAEKAB0WIQTmYwAOrB3szWrSiQ2zu/ihE6BRaAUCZqfVvwAKCRCzu/ihE6BR aMNKD/9OUVhvTG5ybHdGPNei8p3wQhAke2A2b73j7omwzlfJ4cmssrk/yY9s804hpeMxjMhm5Ys sn9xyjJXM8O2c82OOuF29jUmGwX+re7aitSlJos7L4bbY4SgpMYilWdUolC0HRyac4Qe06IaS6M 3SX0jjzJ3K//yVtuUBY+8r8RVVHfkstiORdBp+P8f/fhQmSrtPgNHB3/SNu5CbFE3VdRQI8V/Jx kUjhkZ0jvF/FCw8r1PcRsFKpE4JQjqhVefvdJ3CiyYtG/d3c24admjms7ggDSqlOZM+q8kYgdcH 7d52yCGY9a31vSFAwkz+pzvtnzFpTtPJWtPmQ7GxtkDkwYHsOInzKT0DjCV1HHCgE5RYgjTEb0C bfdKYO2B0f1XBMF5NFQCln3hdM9AP6UQ4EW5PzMtAimlC9RjbqtdG4EMbDAcU9PBqxV3HuucL98 GinIN1j+5GH25f8d/gs5AJfiQhKPFvTc8xys6kUCMAeOoY858q0O2bW0dOet6FppiHZlUwkiVag Gl49IjgrwAuS7WSkB5/beYv9+YdzSmvsjoq71kx7WBI7WPF9vFw8Dz/ObN0mVbSIjqc4H1pU7SF l8sc7ZKq2xtSdusaT6siBjuB4z0K2HsDYaBWol/g/muvbJpiyFLc+DI1fWZfXEcx1DhQmlYjiIp +nB5RPkipsyhW7Q== X-Developer-Key: i=aweber.kernel@gmail.com; a=openpgp; fpr=E663000EAC1DECCD6AD2890DB3BBF8A113A05168 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240729_104806_049238_B1FF7C88 X-CRM114-Status: GOOD ( 12.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
power: supply: max77693: Toggle charging/OTG based on extcon status
|
expand
|
diff --git a/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi b/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi index 3c905bfedd96..7309b4e1cc3d 100644 --- a/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi +++ b/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi @@ -157,6 +157,17 @@ charger_reg: CHARGER { }; }; + muic { + compatible = "maxim,max77693-muic"; + + usb_conn: connector { + compatible = "samsung,usb-connector-11pin", + "usb-b-connector"; + label = "micro-USB"; + type = "micro"; + }; + }; + charger { compatible = "maxim,max77693-charger"; monitored-battery = <&battery>; @@ -166,6 +177,8 @@ charger { maxim,thermal-regulation-celsius = <100>; maxim,battery-overcurrent-microamp = <3500000>; maxim,charge-input-threshold-microvolt = <4300000>; + + maxim,usb-connector = <&usb_conn>; }; }; };
Add a subnode to the MAX77693 MFD for the MUIC and connect the USB connector node to the charger to allow for charger type/OTG cable detection. Signed-off-by: Artur Weber <aweber.kernel@gmail.com> --- arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+)