From patchwork Tue Jan 30 09:36:41 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: 13537113 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 8CEE9C47DDF for ; Tue, 30 Jan 2024 09:38:54 +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=mfgTV217rL9qhjhZr6VhAd5Azxs+n5YHBmHKTbPx1WQ=; b=Qugi/LZXJRCQhF EeyqM/JbbNs4tUOxCLS8efZsDKVDJUsScUEYKDqE6JTHAxSNEoBMP8wLKOBVT0uetTk+9dmAFcM5l /W7PsirZnYB3uX3KtmJKD7hKv1hGRUaFpPRa5fHyRnozw8LStxPuCO7DyGJx+EW7yXjl4AoxjfB7t 7HsKxS1mlnK9ZQJbsvVka7Ic55vrfDJuCqFjXCRnOGyHfPdQb8rm9xQTpibIHs4t66hTnp7PDNVLX s3MLXIYkricpvC7LMZojlLd4VHE7VBujdfD0zm16VF/EDRESZpgVEUZF2YwqelceHHsydGrHu3F3R MQYjhRJJiPnP5BSNjgeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUkZm-0000000FyLC-2wF7; Tue, 30 Jan 2024 09:38:42 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUkZa-0000000FyD5-07p4 for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2024 09:38:31 +0000 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-55f279dca99so1823806a12.3 for ; Tue, 30 Jan 2024 01:38:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706607508; x=1707212308; 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=/QlyL8STz7vLqr76PxDM7CwYVIS28ulp926LAaYNGGI=; b=YkcRmbYrk/ggg9R4uFPr0DruczPKS59ZLzS839AnIG2Sa8iKPSX/z1XEe2uXvteywC 2hkTGSsoZitfSTJFvrhYjCqYOkxp3UskBqp+PI7OKaCZBnZeO3JEF3V6ITTncTpjdyD8 8NvEhEHRReyS3feTE4xseKK/kb5CeQbS6HBVeDD2ewHPO0EZSZPBhYQGrp7SATS9sSva 2Pf3/VXO5ribdfxwRKEJEs1YPurQnBcBXIyAZD4CqiJjS3tznp+S8HoCszTl1ipnivxQ Cj7pldRSwYzxxYhgIzo22HMJpwSDDO3gY2CI4egy7x2/OjJkcb47ZC4i6cLIvZIg8lQW 2GkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706607508; x=1707212308; 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=/QlyL8STz7vLqr76PxDM7CwYVIS28ulp926LAaYNGGI=; b=HS6Bg+QUpnmkWzqSVEwwYHv/9YkFH18oq3PPFO1/QYNh/9JxGAXCmt7ra3F8UQBX7p LCLfVUPS70eakSqujT498lsJP5Ua/ymZ67bwDOokaZfqWSreAINIrz6ZXUOJE5zfA9nk z3EEJAwbnABOLBU6Wkrntv6j6wphp2I5UOmeZYUsGR6YEIUiUZgggddqpyiHVVk/T40B gLiv8vXIaoOMat33c3LPasw4VvU9wWEgw4UmyFDAFHkHks+igq+gR9yj2FDWVooF0E04 g675D7cBpiENp4/A/4BpjlpCclJCqDeXHQwCHcE2RYXiAxGjGzCMuSP6xP3wj2CTUe5g 3e0Q== X-Gm-Message-State: AOJu0YwQAPwuf2cDTuCDt0ee/lKfsVy+hb299Gm+AUDdSJYTjJicGqxQ 2fch61DKAEXPn+9e+0g22hAf/rKuz+B/D0UF9GE5+zk8JcnpbVrVyJu3pGa37Jo= X-Google-Smtp-Source: AGHT+IHfaN7UvY/vSPQqkfKgFdNu53zzkQ0W0rJtAiN/x0drxl5i2SZ2RU5QbIL/iyWQ+R2WTvXWvw== X-Received: by 2002:a05:6402:3590:b0:55d:1592:8323 with SMTP id y16-20020a056402359000b0055d15928323mr5771063edc.3.1706607508001; Tue, 30 Jan 2024 01:38:28 -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 q10-20020aa7cc0a000000b0055ef56f4575sm2281225edt.39.2024.01.30.01.38.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 01:38:27 -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, =?utf-8?q?Andr=C3=A9?= =?utf-8?q?_Draszik?= Subject: [PATCH v2 2/6] arm64: dts: exynos: gs101: fix usi8 default mode Date: Tue, 30 Jan 2024 09:36:41 +0000 Message-ID: <20240130093812.1746512-3-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240130093812.1746512-1-andre.draszik@linaro.org> References: <20240130093812.1746512-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-20240130_013830_089092_85898C36 X-CRM114-Status: GOOD ( 11.96 ) 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 While commit 6d44d1a1fb62 ("arm64: dts: exynos: gs101: define USI8 with I2C configuration") states that the USI8 CONFIG is 0 at reset, the boot loader has configured it by the time Linux runs and it has a different value at this stage. Since we want board DTS files to explicitly select the mode, we should set it to none here so as to ensure things don't work by accident and to make it clear that board DTS actually need to set the mode based on the configuration. Fixes: 6d44d1a1fb62 ("arm64: dts: exynos: gs101: define USI8 with I2C configuration") Signed-off-by: André Draszik Reviewed-by: Sam Protsenko Reviewed-by: Tudor Ambarus Reviewed-by: Peter Griffin --- v2: collect Reviewed-by: tags --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index aaac04df5e65..bc251e565be6 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -384,6 +384,7 @@ usi8: usi@109700c0 { <&cmu_peric0 CLK_GOUT_PERIC0_PERIC0_TOP0_IPCLK_7>; clock-names = "pclk", "ipclk"; samsung,sysreg = <&sysreg_peric0 0x101c>; + samsung,mode = ; status = "disabled"; hsi2c_8: i2c@10970000 {