Message ID | 20240530-max77693-charger-extcon-v1-10-dc2a9e5bdf30@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 5BC92C25B78 for <linux-arm-kernel@archiver.kernel.org>; Thu, 30 May 2024 08:57:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :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=+BcU/IVFe5B3nHZ/UkDshwNUIRaVBON0YnaFPbOgnQU=; b=WhaJViDRbqbppn LyeyszXVgMaOMIacLHYXzcaLV2Gfxkknl4LZ8z4fOFcIZUlmh0/C9u9t813DGSP6DE795i7+4S2jS 5QNH4Zdd/TR0ODAE5FUEkRCP52ec5YH7ptKc5f39k10b+Sc86UgphZzUz7YTBpd9+3HULGcmJWjVj eRY+ZyAK6OFDvOnXU4bMxZqlp7P54hM2Lop8Bkd3mVKhM/WPm0C+AGSosDxVJpV5ZjHLqQ175f1zz fcr3G/c5J0bwoHkIPm04gK+fn15E01Ueyn5UZxTjjgIYsuIVQXiEnqNa6/hVifOEcXDG7x3SserFa TA4suCzxLiFzTmfFpYEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCbbN-00000006i62-1w9z; Thu, 30 May 2024 08:57:37 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCbaT-00000006hcj-1hvs for linux-arm-kernel@lists.infradead.org; Thu, 30 May 2024 08:56:43 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a59a352bbd9so101235666b.1 for <linux-arm-kernel@lists.infradead.org>; Thu, 30 May 2024 01:56:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717059399; x=1717664199; 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=cQNLlC64Z+6NySSM58h4q7W0lLlgYuyQBuL59GO7BQI=; b=dU8+GtBdYhUcGMgj4ZJuUCG+2DOceaQNil6Yjsk7RJt/3wLv63jaY11GMMdAyRAjX0 +MO2pN8xbJfBekaRfT9cmbJdIpwsiH9varoPR2m30Ux5ORavaZjQ6Rjkr7txSdpIAXbj QvMr8tbTgmEa5LBAMzWS0BUdV8RGMTu6lxg9a5bD2eBLYMLLl66y4qOKne+Ty0qnG9sy ZnXRgjJWQoRLxzxGF3xjf4JTLetgBZbkZnMw6wBrFd3XqXyBoVTo/tT6jvEZ7mY/CmX+ BtN8NIMUJojuyWXkxOIH1fq4zZLChgbpOJfnTcF9CBrOKlBnQvjRLZldkYmrmON1+zAu 17LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717059399; x=1717664199; 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=cQNLlC64Z+6NySSM58h4q7W0lLlgYuyQBuL59GO7BQI=; b=UTQOrqVpkkqN6O6AoVjWGPeGpClJ6qOh8TvntpzfJj5BzWGUCB0zeebkw4FZPetDmq pPRxFwnu3j3xW78emTkHhqafT+G+qaHCxu6oH8mMMinHZ1HCXOtUymKxVjKhbdh+ex/S 4ZDdojMIYD8DGgga0Yp9iVCtzpZNHPQTpnOpBeN2rEC4CmRp+QrCMsOlZVJZ1aa9Hpjd 2ZHae7cEEvFnAcqU2jG+Fpu8ZzLi57DcscprwLkRnMVGLNTvleKQ4CLF5W93Nflx4Xj4 z9qA99wEZtFipS+s5A4VnXSvQ0zybJgCt1lFFkep9dkW+/CVF17LDKzeT2p8f9LaO5b1 NL/w== X-Forwarded-Encrypted: i=1; AJvYcCXVjooQ+B2Gf71niHy9SZZwLKnSjOZ6GapOt9xoE/iDfHym3G699ONtfE882pK4UxANWVEHLCloCOCp6eMUBwkSSmPWkn12DSStikzAbA/v3NSytG0= X-Gm-Message-State: AOJu0Ywr6DXcW1xcnQyNBpYSy0G9ItwJf7fGs1axTqJvCoRwMbXQ9tse wnDlULTB/E8Erd6Ly9NDsH34NXCPPVOezaDp55+lB3WROlVvcGjnfYQqOg== X-Google-Smtp-Source: AGHT+IHkLEVV6E75jVIShiYEHFkNtLk1TaBGd1BSfvKYAYZG6bC/a1gzyQgtYJAgE0LVsGNX5ckQtQ== X-Received: by 2002:a17:906:38d6:b0:a65:f504:6d48 with SMTP id a640c23a62f3a-a65f5046ee0mr91861966b.2.1717059399308; Thu, 30 May 2024 01:56:39 -0700 (PDT) Received: from hex.my.domain (83.8.128.191.ipv4.supernova.orange.pl. [83.8.128.191]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cc500a1sm798430166b.125.2024.05.30.01.56.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 01:56:38 -0700 (PDT) From: Artur Weber <aweber.kernel@gmail.com> Date: Thu, 30 May 2024 10:56:00 +0200 Subject: [PATCH RFC 10/11] ARM: dts: samsung: exynos4212-tab3: Set fast charge current for MAX77693 MIME-Version: 1.0 Message-Id: <20240530-max77693-charger-extcon-v1-10-dc2a9e5bdf30@gmail.com> References: <20240530-max77693-charger-extcon-v1-0-dc2a9e5bdf30@gmail.com> In-Reply-To: <20240530-max77693-charger-extcon-v1-0-dc2a9e5bdf30@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.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1717059384; l=949; i=aweber.kernel@gmail.com; s=20231030; h=from:subject:message-id; bh=EY+BEcJQ9F9LUdm4bF8mu/8KmPSqDEshmLjLao4MQ0E=; b=kXudDF1YC5D4fcIqIOcVLdEvXLvphHXgfFdfuQ7rFNYKEQsklCP8FjoANLctcXa2OAKOOsBNv 3FtW7ZSzAqABBhFnKjKb7TL233hDIPYcuvTh4vcOh2yCRn5LJF9JCOx X-Developer-Key: i=aweber.kernel@gmail.com; a=ed25519; pk=RhDBfWbJEHqDibXbhNEBAnc9FMkyznGxX/hwfhL8bv8= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240530_015641_567620_CE763EA6 X-CRM114-Status: GOOD ( 10.51 ) 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> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 e5254e32aa8f..b13c135bd944 100644 --- a/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi +++ b/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi @@ -158,6 +158,7 @@ charger { maxim,min-system-microvolt = <3600000>; maxim,thermal-regulation-celsius = <100>; maxim,battery-overcurrent-microamp = <3500000>; + maxim,fast-charge-current-microamp = <1800000>; maxim,charge-input-threshold-microvolt = <4300000>; }; };
This value was verified by comparing register dumps of the MAX77693 charger with on mainline with a downstream kernel under Android; the value on downstream was set to 1.8 amps when charging with a proper charger. Signed-off-by: Artur Weber <aweber.kernel@gmail.com> --- arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi | 1 + 1 file changed, 1 insertion(+)