From patchwork Mon Jan 29 17:46:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 13536135 Return-Path: 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 0D1BEC47DB3 for ; Mon, 29 Jan 2024 17:47:43 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sFTvuhdIJ1eWQaIYKCSgxqDkVU6C9IZsJ9AVu8I8j5w=; b=kzVFTjWSGDluRr 3zzcYh6nucKRq+gv0d2bo7mBhF1FaNzxnT9Sc4xer4WaDlC0r8HV1YbhCYNQvLtdQidmjlFLU7WJg Vxw5teEyLcpl5fnwE9d+SgYgs557344/RMEHq2sXSXfNo1Z6jG06OyJxvJUwgxTF25ROmpt3YPgX0 fHtgRbICRbSezV+Jev63dPdAVZyrCly/ww2mRZpfcA1SpIsVuyaykZuIdFOOKvuYZlM2e0Msh9xVk +LgA2KuxBpLR390w3Zfq4JQZMF3OVjbO3+KNAU+WF7F2HZWtVtPR+qUa97BQsWV0KaCipVsxSI1iQ GGZ5OREAy8Hn09uBcvzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUVjI-0000000DnY3-0cxX; Mon, 29 Jan 2024 17:47:32 +0000 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUViy-0000000DnMw-0g4D for linux-arm-kernel@lists.infradead.org; Mon, 29 Jan 2024 17:47:13 +0000 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2cf59087e03so19981591fa.1 for ; Mon, 29 Jan 2024 09:47:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706550430; x=1707155230; darn=lists.infradead.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=mAseE/mvL5RAYzM3lRb3U+lFOpBCKUixMi25bjB523yWwKr5QOM5WqvKwv/FrOys8M j3Mdx1SS2HQPyKdwXfih8JKu7imrR8l7gktzmG9lCTAqBwI5reFpRZ/XHv+SMsB9yaux KfmFpgHagfdZIeJRqtX+yzD/BOTVyctGYqLFTOI/Bern7QZBIJiwq+wt73wtF7tbcET4 RZ6QAsXwdgWozTXO45NOJd1Fv91Cn5Sf3o2bNhgbJEjlOjZUypkPbOsKwp6KCBOGtszk 0es7MdRJobCD43TswBSXVfPR3du6o9Ly6ERyaKihXrBgjVAI2E9K40xEzen4mqoatnGi yL/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706550430; x=1707155230; 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=eiE8BvE468WoT6KL1SEjadhtXDG4lDBwhvuvCgWTPVFCH3CLEiT3Yv/1AV9rHcl2b+ dfxxZoh2pZqHgNiTJz1rS85f52/FWiWJY234y+xThJJK9rwU+gE2HUFhKsuWBJavcT4D K+HRYCeTWx4SiY1wnBDtDbvjHyUEiEsLDKcsEG7Yg/DOHCKCLrvSCy0TqYXca8ldKM4f 8v/wumQhYxEdSmurf84webjjjH0AUG67al10VLadJfcY8dYbZWOamn4oHemcyD6Ej5SM kfyiyYCIyFF1x/2aVgNir/4xggdSL3NTZbBtNAy+peMUFcbOrfrp+hM0FjEBbIrRehWc 9Iqg== X-Gm-Message-State: AOJu0YzbmurLgnIx47Zh98KNcVQfYiJ14IWQp2Vi65U/cPckz/wqIzwN H3uYS6Fr13c3cPEOMt4g6GgCaZM0Kzx7cuTnNZV06dDiwBQxPGe4JN5FEoGhDzA= X-Google-Smtp-Source: AGHT+IGGX12jefZ3ORpqP3WpoKoqBC3NixlOwRo4Dex+hqaEW+6BruXCJDU6lnoik6V45yxURorkPw== X-Received: by 2002:a05:651c:1a1e:b0:2d0:5283:84a8 with SMTP id by30-20020a05651c1a1e00b002d0528384a8mr1574080ljb.36.1706550430239; Mon, 29 Jan 2024 09:47:10 -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 u10-20020a05640207ca00b0055f08fa9286sm1000999edy.23.2024.01.29.09.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 09:47:09 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= 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, 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 v3 7/7] arm64: dts: exynos: gs101: enable i2c bus 12 on gs101-oriole Date: Mon, 29 Jan 2024 17:46:06 +0000 Message-ID: <20240129174703.1175426-8-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240129174703.1175426-1-andre.draszik@linaro.org> References: <20240129174703.1175426-1-andre.draszik@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240129_094712_280092_180DB12A X-CRM114-Status: GOOD ( 11.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Reviewed-by: Peter Griffin Reviewed-by: Sam Protsenko Reviewed-by: Tudor Ambarus --- 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 = ; + status = "okay"; +}; + &watchdog_cl0 { timeout-sec = <30>; status = "okay";