From patchwork Mon Jan 29 17:40:10 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: 13536108 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 9440DC48285 for ; Mon, 29 Jan 2024 17:42:49 +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=h7oWfwBqnrm9AT jeNojowDdnZXkkoFW2Xfea+C8KqkiJ/E5Rlv+TfOZFg/E03Gzy1wH4UP4UW1yRmjdmZMDUpSfBvqQ lw59DeVOR6PAYFWMfo2WtFWhw4nJVK4Q0CtJhrIgXiZieaaFbXQrgepNm8aJgpLLWzojxQifbUFS3 M5owuP+LRmr1h3mM/Tws2QnjT24LOhKy+EXfQwT1c+WqYa/YhNLyj5WWiLPu8ONacyrFnSYVIWoeD O2Wjvt9MuXDBJ1xut/UQbW8nC9x9/5Jw2A9/3obQ1Aa9qOsHahE3FIORxviY62guIFQ+QmSo/3RdD 4k6LiX1wfUYdwxPka0eg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUVeY-0000000Dllf-2DhD; Mon, 29 Jan 2024 17:42:38 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUVe6-0000000DlUe-1ApY for linux-arm-kernel@lists.infradead.org; Mon, 29 Jan 2024 17:42:11 +0000 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a3566c0309fso213750566b.1 for ; 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=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=ZZTTy14EoBTAKkEa7N5YSEphfh20/MBI3irtTWEGnB+J2Kia2xfjFhk5JMSHXAXPSA 6YF3hQ+NKSNkfE8H/kgpGejU3qHFwtA4AFpAXOYGx3Ra/BkpnkpdcZDYJELwoPdupKxA r1ovIGSAn489OoIYIZm0NJCA0JdBlAtqD72RDPiNu5tMO7Ph4HBeVFvuayEyflAmcPrj 106hhD5qvWAITNZ8jIGf6lPeUj0I0okpOLomoHTOY/IZ1pgrkpOn+hTU3iU2eOy6AfYi +1gQJXtPuYvsHPwwsl4IEErL5ILTTl8qMgmT9LoMG4CMI41tASBJ9CFskX60YfZCuayC pwzw== 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=kqvlWeB8XecByjV3R/qI8oowWRIEY3VKLnSDEknPMP8D8wvuHe8s03A3ZObluJPxPI 2dNErkxT+ZxAKDFKy7OfkrMBVbVpE9+Ja4JUp8b6KqQE/OaSlD8lhRsuwPjIPnV661NL eZnnepWeZvWhJe4hN2zjrYH3KGULms7H9tnoySPWCqEgW2CjQlcO+VXlcKIxSbGfxWlo q9I+EfjqyiiWYUbU/XBZIeEw9YgQ75Pm/emccboW0sViIVwuAde1iF6C0FCGuos1y2L1 zpBh/P9J/QQ+Wz7UseFqPvPporHOPweX1gXfeL/s/DVA3s/5wqKQCMqcKNvkF72RwCex 90Sg== X-Gm-Message-State: AOJu0YyZj4b2RCLbzbjHE0R0YOyWN9AyWPDH9sIFrAyzFszMkh3rEf2c qvlAAHyEOe4TWVI9aJHLwtS+te5NOFlHJgMCPj6NqOdSL/AmXT7ymzJccG6VuqE= X-Google-Smtp-Source: AGHT+IEdHowJxYSut+KMjg8E8ckZoYrG/WbJ2LXWkd3+D98wvQyonRs+6o1EJqKQE36Ov7Fa6FRUfg== 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?= 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240129_094210_347802_1B382910 X-CRM114-Status: GOOD ( 11.27 ) 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 --- 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";