From patchwork Sat Jan 27 00:35:51 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: 13533845 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 17528C47422 for ; Sat, 27 Jan 2024 00:37:26 +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=/u6GW74Z2w9DJWUp1bro43V7w6puS+onuNYG6kCrrHo=; b=JCoQa2oqHPrBJI uldTsEDBbTbrmTK0ztJCksu11Zfh7TndlSXUgxHEfrW83Of0nnCvX5eLkALWVg8rB3/mpwlL959bt FfaC7O+TRAyOnqWoDVJ6k21OTibgMKLOgAh1x9UCn3JNFA9qNZKyf4Trv3WNVssQi9PGAu17Of52f 4i4KuSkoIYjAdNUQAhc+5dUjgFfshhppuQR38oJw1QRZwya8Sj5vQgHxBsJg21PAVa6/Ze9pxgZWk 03sMd/wExruu+G1b6x76rJk1o3uPhS3dBn64RGiJUiJSgMrCQ55sV3Xv9bNTJ9ojLoheovYP2B6ZV EWcQiFQ17Hm45S0p6vyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTWhB-00000005zEX-1enO; Sat, 27 Jan 2024 00:37:17 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTWh2-00000005zB6-0R5p for linux-arm-kernel@lists.infradead.org; Sat, 27 Jan 2024 00:37:09 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-40e9101b5f9so15764655e9.3 for ; Fri, 26 Jan 2024 16:37:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706315825; x=1706920625; 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=Sm+b1B1zFt2eVB9+ThV9mqMVXPNNXKvJvmEo2SUwft8=; b=wQpH5vy2BLtpaTkZoDSJmIVAc7od4KZencjbhsvNrDFB4A3t0zyUXQUdT3LAvs6SYO lvq7xv5jIBK/HlziKeq5uKFUME+He/nLOxIu5vFB1Ue8SOj2bCz/B4eyrFCIVOFfVElM wQ1ciD3pDJRur9u3BUiwumDtO919elVPFiNe0N/V14kgWwG/v0Uxxzk/qO2l5q/sL5fx JsDvj5exoG1rwhQZzeB7dzkXWn7p/WMB+shIUdc/ayKv8U53O82yxiuBQAg0XDC0zpwM 2p+j9VLCyILXBjmjZOiZKiX0MLWPo8iE2VXYyWGmAOXhRT1T7qSE04HAXIlbMuavqXsr jmcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706315825; x=1706920625; 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=Sm+b1B1zFt2eVB9+ThV9mqMVXPNNXKvJvmEo2SUwft8=; b=XtDcWhG/kZ2qeOeBZQFVuit/yOFc+M3fnCW/NWLjl+xtiWnvhnDgiRWedypVA+A+UQ bftNGadlR6GA9UmdR+Sjuj8HNS2YkD7JcU4S2IJIyVY3mx1hGpaROGwdPYPzdF79g5jg KdeV4BXI5f3axGU/49zjb0/v5IxscxgXcf4zs1fnkzBrnh4XoALROgLtYTFEYxWUerpn v9/bJKA4GAICTuQMF6WwFQ3jvJdOa8AQbilCyit6VToAFxcnOgZB6zZtSuRVvysHOySL MdWsD6E+EPgTXVumuercMM7P6SWTfGLIcv+St6m6GFC+wmcTa+B9y3g73QMhKuvmROKl i+iw== X-Gm-Message-State: AOJu0Yxt0UEc62whQlQmZ7HJsH+OPOrGhdBAjh+8xX1IVkv7B1QRNTPz E1KJ0IZwSa0hpbkaEUUrQAspuWO9sz5A4WZAywohTyQTbJLy3M8uj9EHr2IwXX4= X-Google-Smtp-Source: AGHT+IGeFh5Dj5LZw+UG+J/Z91OUe5JueC+Wd93apWSOWisW8wFE95eSjirZGUDRp0E34HcX4tKyGQ== X-Received: by 2002:a05:600c:5123:b0:40d:484e:935 with SMTP id o35-20020a05600c512300b0040d484e0935mr455010wms.12.1706315825706; Fri, 26 Jan 2024 16:37:05 -0800 (PST) Received: from puffmais.c.googlers.com.com (229.112.91.34.bc.googleusercontent.com. [34.91.112.229]) by smtp.gmail.com with ESMTPSA id vi1-20020a170907d40100b00a2f48a43c3esm1152235ejc.7.2024.01.26.16.37.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 16:37:05 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= To: peter.griffin@linaro.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, mturquette@baylibre.com, sboyd@kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/5] arm64: dts: exynos: gs101: fix usi8 default mode Date: Sat, 27 Jan 2024 00:35:51 +0000 Message-ID: <20240127003607.501086-3-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240127003607.501086-1-andre.draszik@linaro.org> References: <20240127003607.501086-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-20240126_163708_173424_60E5B4B3 X-CRM114-Status: GOOD ( 11.57 ) 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 --- 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 {