From patchwork Thu Dec 14 10:52:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13492783 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 B9DF1C4167D for ; Thu, 14 Dec 2023 10:54:05 +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=lfowrOtZ4RzvLFANNrOE8zRLy72+t3cr2bxo2cpD5sw=; b=JkUVn39q5zHimS 1l81HW2tUlhKNxHqJj11MTH84+4fmOFfjzxFnyrO5sD4eEq+YrSTHvMSPHCY21cD6Iax1ounMkxEu EgFWhKXzk0Y/PIi5/asnPif6PaAvLjZaYHaL7312T7x5LA2qRco62SlPKFRWTRJvYKMI12TxdOWd4 ngzIP/xmy2L2MvuA0ZmTY2UyH44ndd+GR+AS1x3DMLWvlaoAhveCPjxhrARM6fSC9OqOLvvYgYbfl sydGl63EuXmEpsWSfxpznEA75YpQ9nkNbZFFuh4mrtaegBHAu/LedMvQdi/+ZnoqlbeLSGtyzuq6a YgLDVDQUZ0BpBmHnN74Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDjLT-00HXyC-2d; Thu, 14 Dec 2023 10:53:35 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDjKw-00HXYc-2K for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 10:53:04 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40c2bb872e2so74807995e9.3 for ; Thu, 14 Dec 2023 02:53:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702551181; x=1703155981; 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=n04YHHXnObXth/lRrr+Q3z77edsJBvJwDkmKe5TSvMY=; b=CIFo5i9BxhFWB+vHA11PhIL6z9KHzA0ZM9AEoQIXBhPr8bMPM5SFeLwgfjMWpMiaoz toolyilAjYgYn1BsvzipNd8Qp/9AhvfcvS26dHTl9B24x9zLiW7f/mGLTyGIPfN7rW72 ju9F8LSEGrGXvY9XkTy+Ho9HNOj9wdSIf6dMXeIz3Thq9tvSK0X/D7AKBeCrfVU0Xxmh 7nsbeGmZDvPH81vaX9OmfkI4M36jz4JzwDZ0IecM0EX4jnLzZWDhtZ20UopscYRy/ChB +iOv4MbsglLI5V+uQILU6OVTNyZYCqcdZ3fiO6jvZAQpXimGefjpV+yhoyUbqoofK2Mk fJYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702551181; x=1703155981; 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=n04YHHXnObXth/lRrr+Q3z77edsJBvJwDkmKe5TSvMY=; b=mlQGa1BECusN0ZEWo28y6GJl408pLPxbLrzia++dcQBQtquitvAYcpVdjyJt1hEg/A WgC3i3g23Adh1Hmjg3TtCS+QYkeBvBVlWkswCJr4pNud9fRDnlmSeyLaJtkf78b/XfOp fvoftB/SK0k+Df3i1p1wVwLkM8W9ofl3IrTEP9a0nzpwy9v49bqY1oUnIM8OO2Jr0/nD JKM7bGMCJ3tyqfPhJ7/KWERk8hbzabSYe6sFs5ZmgJYDJiZOAAeEbFSaTWH+WF/3lhgD 2xFMZcpp0/z+IfxP0OORY7yLHgcr9NDHZ+A+Nu39K95ufwu5C/jOuCm+/5+vPnsNn9Sl J7BQ== X-Gm-Message-State: AOJu0Yz+1zh0V/8fKvJx0v6AXUHrVjyN9nlfFCxtV7b/ORK3xGSOkh9a frw4hGRNJTZ27kvIMZ9A9gPrig== X-Google-Smtp-Source: AGHT+IFPYRnFgVJ8F0lvC2CYA+Pq15xboTIuQDttBmZqX6u/hWOKR6HBqPMGZXYdzie/T4oEpP0Nrw== X-Received: by 2002:a05:600c:2d84:b0:40c:31f6:1dae with SMTP id i4-20020a05600c2d8400b0040c31f61daemr2299352wmg.69.1702551181240; Thu, 14 Dec 2023 02:53:01 -0800 (PST) Received: from ta2.c.googlers.com.com (216.131.76.34.bc.googleusercontent.com. [34.76.131.216]) by smtp.gmail.com with ESMTPSA id p7-20020a05600c468700b0040c420eda48sm17614854wmo.22.2023.12.14.02.53.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 02:53:00 -0800 (PST) From: Tudor Ambarus To: peter.griffin@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, conor+dt@kernel.org, andi.shyti@kernel.org, alim.akhtar@samsung.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, catalin.marinas@arm.com, will@kernel.org, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, arnd@arndb.de, semen.protsenko@linaro.org Cc: andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-serial@vger.kernel.org, Tudor Ambarus Subject: [PATCH 11/13] arm64: dts: exynos: gs101: enable eeprom on gs101-oriole Date: Thu, 14 Dec 2023 10:52:41 +0000 Message-ID: <20231214105243.3707730-12-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231214105243.3707730-1-tudor.ambarus@linaro.org> References: <20231214105243.3707730-1-tudor.ambarus@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231214_025302_805776_A74FF6AC X-CRM114-Status: UNSURE ( 9.27 ) X-CRM114-Notice: Please train this message. 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 Enable the eeprom found on the battery connector. Signed-off-by: Tudor Ambarus Reviewed-by: Sam Protsenko --- .../boot/dts/exynos/google/gs101-oriole.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts index 4a71f752200d..11b299d21c5d 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts @@ -63,6 +63,19 @@ &ext_200m { clock-frequency = <200000000>; }; +&hsi2c_8 { + pinctrl-names = "default"; + pinctrl-0 = <&hsi2c8_bus>; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + eeprom: eeprom@50 { + compatible = "atmel,24c08"; + reg = <0x50>; + }; +}; + &pinctrl_far_alive { key_voldown: key-voldown-pins { samsung,pins = "gpa7-3"; @@ -99,6 +112,11 @@ &usi_uart { status = "okay"; }; +&usi8 { + samsung,mode = ; + status = "okay"; +}; + &watchdog_cl0 { timeout-sec = <30>; status = "okay";