Message ID | 20240129174151.1174248-8-andre.draszik@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-43216-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp727033dyb; Mon, 29 Jan 2024 09:44:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQS+R0cOWZ/qUcpMRTowO1r023eUCnNseUkwLM3QVO1DxrGp7WvdOMoCHQ1DxwS28pAaDy X-Received: by 2002:a05:6a20:4c18:b0:19b:5b08:1f4b with SMTP id fm24-20020a056a204c1800b0019b5b081f4bmr5492308pzb.15.1706550269364; Mon, 29 Jan 2024 09:44:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706550269; cv=pass; d=google.com; s=arc-20160816; b=yNMDa2I88IUinvtEGdU47aVvrZ09DQPBKwotYnpeJubr81G+w5z+B//ZiQz+FgmWgh Tp/sBa17IuX74Yzbj7vBnhUxKZXY+KVBEAzWAQmgwnb9AXPda/LFb7B6EDPnHEaM5c3h Ji8GxkLrQSsEPXD4hCLQ5tTT1Z0n28MSWCy3vAUzWXVSYrExvjQf0XzBci8K/Fqt7N7L N8hiJwnxiAiYeep4Igyt5tzGLmH65rDB5OwCdHDNY/b8RAmIYqZc8pZ6e3rPW+d/n1O+ KJ8Pz4TAIaR7FtiwwKX0o+iFbtTPK+IGFBK2fWWOmIxg69q3YcgVhBVWutcuZBsbu7P/ 2VKg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=YN7Q9lvRKaAglbSzz4YTb/Gj6CnT1pQKtP0U/KtQa4g=; fh=8reC8e0HcV0MJy7py+sfUDpVu1OHAjLFVMlR0qWOMS4=; b=gX1bRr4+NLlYMD6IHMDD2zFKM5fByTgUBkUCqsYC7yUiaI9VbNc/W94tG4x+FDLPRM pWyAMaKaJ2W6nT09KtoCUH/yF/v+gW7zNa6GIxspQ5uzwrNGco1OqHzNzNmCUYloCWFA Ld2U0hwlurGQA8tvGE8KCyRytFHXgaPC/RcX2p4abaXWIVfShI+dasPfK06NDj46WDY8 ztYI033p2YejoHVAOPEU/3tSTKR/OREqGbIYebz34EtJIGUWg873xzclSdXOLeBoKN6M i8F7SiQ5XTC/jVF/GCNMPj4LuU3D/Jm/Tf9yv2DJUN8tDs/aj52oNdFlTGjBoNnZu9MU qPPw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lH1LI9F5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-43216-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43216-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o9-20020a056a001b4900b006ddc17332c2si5930265pfv.321.2024.01.29.09.44.29 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 09:44:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43216-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lH1LI9F5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-43216-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43216-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 670CD2872AB for <ouuuleilei@gmail.com>; Mon, 29 Jan 2024 17:44:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 35B211586E9; Mon, 29 Jan 2024 17:42:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lH1LI9F5" Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D60463F9D4 for <linux-kernel@vger.kernel.org>; Mon, 29 Jan 2024 17:42:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706550127; cv=none; b=G629xKy9lZSK6T49UKHPOi82u+/Z1RXCVCcwCijE9p+7WngXeF+VZiWGJ/hOtwz6JVmMPCq8iNRy1+lExEfYCABDlYTFl1SSFa8Kfqidmdswsqcfr+OFJDiIkKkmg/kbYL6ADBnaPvOZv2hTQN5qmDMH/eenH/l4SQ4RsdcE9Hg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706550127; c=relaxed/simple; bh=EYbrVsBx4CczVTo2it9ewxYkNd2HjzVb5k8/lZR7m9U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=AtC0w8X4o2CObsn38EwlOXbMJHdmAeKCdkX0H1qVZS0J/kcY9KA9WBjeLpvd7eWbLHE3gvfaoX8yO688neOfLY0z8ufTvxzr+qrGEMcwZ3BEJd1VMXCH8W8gpdPtSU8H7AuZar2Zk0OPyokyXw3NNSYethBrHcVCbf8z8MgI9Jo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=lH1LI9F5; arc=none smtp.client-ip=209.85.218.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a3122b70439so407206066b.3 for <linux-kernel@vger.kernel.org>; Mon, 29 Jan 2024 09:42:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706550123; x=1707154923; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YN7Q9lvRKaAglbSzz4YTb/Gj6CnT1pQKtP0U/KtQa4g=; b=lH1LI9F5YQBbCCVkqfgYW5LqBSYLlMcwa3apvFkoAK8jEiwKlFb5FSyiX94iHGhM/d T7bN24lNNl0hTZ+jh4Rfrn8cAZybPBBxqVFxHoJp5KXJxF88ze+umNo1adf8AFmqUuDc aAfp7yllEQq9j+s6K07RZShygEe5n34JI0Opr8AzoRlXJu31fb2P13LfnRPH0siN2i6j VQQqe0soh+AMC5p0yMX3OvcmO6iBn4fzpPZCREG/rU1hBhchqihwvTQ2MWA69rr8oI8Q pLqxOVxWMJ3osD80P5HXBzSWY08R5U+vnDTgl8Lge+C8+xDHpFMIC8tRYK2fxbFrHvvo XLbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706550123; x=1707154923; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YN7Q9lvRKaAglbSzz4YTb/Gj6CnT1pQKtP0U/KtQa4g=; b=plk2rvybq6ehN62je1ptCEacWozsIV42dB00HZVIcl8WoH60NqC9PqAhSqlnf7yfHO czRaxLcpKqetZq6EDpIVaMiXMAtgDp+Rr6GvpaXGKUS2dyueR+0kcY/K1Y8iomzqM535 PLmXCxJBGnomc/zHWEOvN4kdDXHF5U/EtiZ0cQQhKsSwSBhih38Pj2Itx7m+z0q4gfdf WQZrvWpFBGf53EkAeO/iRP+t6aUFFTR6Q6UTYek7s09yfTzhQpKSh6fihyMUhlZkN8eM pk5owoNxbCv2dlT2/lYjcMM/sR4ex0+QNH4/bbcHqIj7+nt6RqTKdQFe198uZF0q8VJx VYBw== X-Gm-Message-State: AOJu0YyMqMQRSjEsf9ZuLY7azq6Gqkm2A+Lyu8YsBlpExTr/Dxka64GP ZjEibxmyrT/XLHJ1FOdlq+/HLFs6kbjIw3wlgXOodf4Bi1D6s4WNigocYUTRy9I= X-Received: by 2002:a17:906:eb56:b0:a35:e7c2:4a5a with SMTP id mc22-20020a170906eb5600b00a35e7c24a5amr1353510ejb.33.1706550122959; Mon, 29 Jan 2024 09:42:02 -0800 (PST) Received: from puffmais.c.googlers.com.com (94.189.141.34.bc.googleusercontent.com. [34.141.189.94]) by smtp.gmail.com with ESMTPSA id qx25-20020a170906fcd900b00a311a360433sm4237765ejb.143.2024.01.29.09.42.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 09:42:02 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= <andre.draszik@linaro.org> To: peter.griffin@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, tudor.ambarus@linaro.org, willmcvicker@google.com, semen.protsenko@linaro.org, inux-kernel@vger.kernel.org, alim.akhtar@samsung.com, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 7/7] arm64: dts: exynos: gs101: enable i2c bus 12 on gs101-oriole Date: Mon, 29 Jan 2024 17:40:10 +0000 Message-ID: <20240129174151.1174248-8-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240129174151.1174248-1-andre.draszik@linaro.org> References: <20240129174151.1174248-1-andre.draszik@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789447654929517390 X-GMAIL-MSGID: 1789447654929517390 |
Series |
gs101 oriole: peripheral block 1 (peric1) and i2c12 support
|
|
Commit Message
André Draszik
Jan. 29, 2024, 5:40 p.m. UTC
This bus has three USB-related devices attached to it: 0x25: Maxim 77759 Type-C port controller 0x35: Maxim 20339EWB Surge protection IC 0x36: Maxim 77759 Fuel gauge 0x57: NXP PCA9468 Battery charger 0x66: Maxim 77759 PMIC 0x69: Maxim 77759 Charger where the Maxim 77759 has multiple i2c slave addresses. These don't have (upstream) Linux drivers yet, but nevertheless we can enable the bus so as to allow working on them (and to make i2cdetect / i2cdump / etc. work). Signed-off-by: André Draszik <andre.draszik@linaro.org> Reviewed-by: Peter Griffin <peter.griffin@linaro.org> --- v2: * add short summary of devices attached to this bus & add TODO * collect Reviewed-by: tags --- arch/arm64/boot/dts/exynos/google/gs101-oriole.dts | 10 ++++++++++ 1 file changed, 10 insertions(+)
Comments
On Mon, Jan 29, 2024 at 11:42 AM André Draszik <andre.draszik@linaro.org> wrote: > > This bus has three USB-related devices attached to it: > 0x25: Maxim 77759 Type-C port controller > 0x35: Maxim 20339EWB Surge protection IC > 0x36: Maxim 77759 Fuel gauge > 0x57: NXP PCA9468 Battery charger > 0x66: Maxim 77759 PMIC > 0x69: Maxim 77759 Charger > where the Maxim 77759 has multiple i2c slave addresses. > > These don't have (upstream) Linux drivers yet, but nevertheless we can > enable the bus so as to allow working on them (and to make i2cdetect / > i2cdump / etc. work). > > Signed-off-by: André Draszik <andre.draszik@linaro.org> > Reviewed-by: Peter Griffin <peter.griffin@linaro.org> > > --- Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> > v2: > * add short summary of devices attached to this bus & add TODO > * collect Reviewed-by: tags > --- > arch/arm64/boot/dts/exynos/google/gs101-oriole.dts | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts > index cb4d17339b6b..6ccade2c8cb4 100644 > --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts > +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts > @@ -72,6 +72,11 @@ eeprom: eeprom@50 { > }; > }; > > +&hsi2c_12 { > + status = "okay"; > + /* TODO: add the devices once drivers exist */ > +}; > + > &pinctrl_far_alive { > key_voldown: key-voldown-pins { > samsung,pins = "gpa7-3"; > @@ -113,6 +118,11 @@ &usi8 { > status = "okay"; > }; > > +&usi12 { > + samsung,mode = <USI_V2_I2C>; > + status = "okay"; > +}; > + > &watchdog_cl0 { > timeout-sec = <30>; > status = "okay"; > -- > 2.43.0.429.g432eaa2c6b-goog >
diff --git a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts index cb4d17339b6b..6ccade2c8cb4 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts @@ -72,6 +72,11 @@ eeprom: eeprom@50 { }; }; +&hsi2c_12 { + status = "okay"; + /* TODO: add the devices once drivers exist */ +}; + &pinctrl_far_alive { key_voldown: key-voldown-pins { samsung,pins = "gpa7-3"; @@ -113,6 +118,11 @@ &usi8 { status = "okay"; }; +&usi12 { + samsung,mode = <USI_V2_I2C>; + status = "okay"; +}; + &watchdog_cl0 { timeout-sec = <30>; status = "okay";