Message ID | 20240127001926.495769-7-andre.draszik@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-40929-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp231102dyb; Fri, 26 Jan 2024 16:22:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNB3XK9MQoYQtt8bu7gSV+44jB5ClpM2ewqLWDY5/sQNRxV5XjcF1GeJNI6pGobzza8Sej X-Received: by 2002:a05:600c:280b:b0:40e:d232:b5cb with SMTP id m11-20020a05600c280b00b0040ed232b5cbmr406599wmb.195.1706314944077; Fri, 26 Jan 2024 16:22:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706314944; cv=pass; d=google.com; s=arc-20160816; b=RFX411Y5LtlBemtGRjTLnB3O9WERjhBQ5Amd2NekysSJycQSdZ7GzIcHVXncpgHbyE 6GnKEuVnbx5oBQk0uSou2i/gzdD0nIYYiJWLiNDqQSbf+vQ2XyX6SA4loLIMKTwGI2Z1 w4zGJU600DnwxjoHaLFcazYmgCSq8NTpIZWGuCeP5/vZXWNq9Steu7oPt8Fwx069dVo5 vsH9BihVqPsw7UWcoQe0IKZpbwsWIZ51WFTBGenLDAtGLAyTvA8ldlW7y8xcx9zKoekq x3ThY83CJSDFQT6UHTbBLsW9yMeGGb7U745rRfnVDIu0ZwZVSGUXPKbDcdyR1xiVCvgp PKdg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=72FI1Gr7K77cw7b0NtV82bnbC4R0Os+Pre+olDdbzEQ=; fh=TOy9P9R4dw7gQuS6erfsRq6Bs2QGsqU+Z4u7pVJui9w=; b=lbk1aikJDILTN7RaA8a5olDyYTiozUKjqoJd87B9BDtDF/A6jcW7PUXDr1nVzECuWb 0upP+QWieSTiB02K5Xyts0XrG18XDJoIqM/p0EeGSlXgUtUp8glIocu4kcRwsRVJ5xU4 1COths8SR13tfmUxd99KLY+MrMSeVWg3TbBcrBWtySaKuf/XZpQMZvgf9fFlU39e4AvO USGEdkqvnCuW69RJhfSiTZ1WmUi1kVce4rdFHixMHjoOsDObd/NbryAuqIFnhV2Pf+NL NQ2ruzk9VB0AwbGpM8cCqam8pLsePLp0ZXhGT71VA7CO9lp8Dh8vhNS2qk71xjFIuE5d 9F3A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z5vteu3N; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-40929-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40929-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k2-20020a1709063fc200b00a352afb2822si313588ejj.999.2024.01.26.16.22.23 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 16:22:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40929-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z5vteu3N; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-40929-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40929-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C13421F2251E for <ouuuleilei@gmail.com>; Sat, 27 Jan 2024 00:22:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CFB2314A97; Sat, 27 Jan 2024 00:19:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Z5vteu3N" Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AFC4CEA8 for <linux-kernel@vger.kernel.org>; Sat, 27 Jan 2024 00:19:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706314787; cv=none; b=dbqBxiFGlbssRrBF7ZxZVO+M1BXKqvSmRNWZg2T5QYaGZTGLHgzCUiB2zgYLQXooMfqMIdsiPNl+7bmdsxTt1CiCwpl6qbGtfbu7Y5NAzHqdOnHokEnAiBaWWCz8//jtSOT4rtXh8c8iLDpim8gK+n0YpMP/XxQy6Eed2eohC+I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706314787; c=relaxed/simple; bh=SRaoY6Wy5mREGBPRLeiPUUSrZarGUQsXs633eSkifMk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=OW52xgyp7J+Nfw3apPyO2mOBVcjabpUyl+OlVPUQAiKrsuQmfQfM9saYP9h2v/ku6Rt9e0vXtoF7U1emD+NwpR/MD7iAo1D8rbQDEtCYT4+RW8roheddI40DZBL8gGoxCKbGsZWeWagmmnl8/+zTbgSpINpMSUojcf5uLrv4MW8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Z5vteu3N; arc=none smtp.client-ip=209.85.218.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a2f79e79f0cso81015666b.2 for <linux-kernel@vger.kernel.org>; Fri, 26 Jan 2024 16:19:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706314782; x=1706919582; darn=vger.kernel.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=72FI1Gr7K77cw7b0NtV82bnbC4R0Os+Pre+olDdbzEQ=; b=Z5vteu3NWLMbaFTrA44z1MUI7x28cDl1ABzweSWx/0bafdEgM7KGP/VP5g6eUilx5E 5ch6064w7k4SezG0qyhikZt0mecw3cZBwZz5mo7O5dqQdu3UpfFz2Gba0znEfzvJcslt 7nMIyiyJXa6E1iwGwOB8Q5DFt9dgriyqRCE7BfQrpYM2F5sRqG2xndygaaQEldfP5GbH pqjeQxDNeuyFLZ9Rc/wMVBtWNqz0FqXy1TN63BJrFXiEy19pBBTC1w/a64OhtRhZVFyo AL0zATsHoTg0xNw5LxfXnTlQtYg1NmlhSLC7/8/rtzraKVmsD5u4UzNuRIW5/qdcQuF9 Kt9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706314782; x=1706919582; 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=72FI1Gr7K77cw7b0NtV82bnbC4R0Os+Pre+olDdbzEQ=; b=JkfB+tr+knhoMUbtZXVAjute3TrqxmqRQvDP+3kfTicSZTTWO4lkxCS9EfFDByud4O OWR20qN5/lCtdpxsfemFulOL8MU8OhyJosWcX4u7G7ujhc1mI98aXZ0rYa4rPWX/gZkY YGqS8axMupBdecI14MWG/Ji7U8qbTr4uBO33xRG+N7061F57HNviYlCHjSCqnb1l8+Zu mIvK4HVfnqTxWFaVQBR+s2qht/WZvsfJ21nedEK3LQkwQxuDGo7LZpcHCy8Y1kpJQW7R xYY5jWlR61UKJltaZf54wvhHbtsd3Exdk7gUyy4KBAHX4wLbheaBGQOFEAH/LRPCiD21 /DXA== X-Gm-Message-State: AOJu0Ywjkk6M42qGNmQj1uaogKZN7ivgj8QHniyEE7+53D80GWNuWulm g/OioMuAGbb8ND9yzjOmE9aXWY3HMqgH9n9Dl4YvGYgCp3kPeXFll2O9mRdy48w= X-Received: by 2002:a17:906:a001:b0:a30:70fd:7749 with SMTP id p1-20020a170906a00100b00a3070fd7749mr307520ejy.47.1706314782668; Fri, 26 Jan 2024 16:19:42 -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 x16-20020a170906135000b00a339d705a10sm1141359ejb.80.2024.01.26.16.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 16:19:42 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= <andre.draszik@linaro.org> 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 6/9] arm64: dts: exynos: gs101: enable i2c bus 12 on gs101-oriole Date: Sat, 27 Jan 2024 00:19:10 +0000 Message-ID: <20240127001926.495769-7-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240127001926.495769-1-andre.draszik@linaro.org> References: <20240127001926.495769-1-andre.draszik@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789200899105215292 X-GMAIL-MSGID: 1789200899105215292 |
Series |
[1/9] clk: samsung: gs-101: drop extra empty line
|
|
Commit Message
André Draszik
Jan. 27, 2024, 12:19 a.m. UTC
This bus has various USB-related devices attached to it.
Signed-off-by: André Draszik <andre.draszik@linaro.org>
---
arch/arm64/boot/dts/exynos/google/gs101-oriole.dts | 9 +++++++++
1 file changed, 9 insertions(+)
Comments
On Fri, Jan 26, 2024 at 6:19 PM André Draszik <andre.draszik@linaro.org> wrote: > > This bus has various USB-related devices attached to it. > > Signed-off-by: André Draszik <andre.draszik@linaro.org> > --- > arch/arm64/boot/dts/exynos/google/gs101-oriole.dts | 9 +++++++++ > 1 file changed, 9 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..c8f6b955cd4e 100644 > --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts > +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts > @@ -72,6 +72,10 @@ eeprom: eeprom@50 { > }; > }; > > +&hsi2c_12 { > + status = "okay"; But there are no bus clients declared here? A bit of explanation about how this bus is being currently used would be nice to have (in commit message); e.g. maybe it's used in user space somehow, etc. Because otherwise it doesn't have much sense to enable the bus with no users. > +}; > + > &pinctrl_far_alive { > key_voldown: key-voldown-pins { > samsung,pins = "gpa7-3"; > @@ -113,6 +117,11 @@ &usi8 { > status = "okay"; > }; > > +&usi12 { > + samsung,mode = <USI_V2_I2C>; > + status = "okay"; > +}; > + > &watchdog_cl0 { > timeout-sec = <30>; > status = "okay"; > -- > 2.43.0.429.g432eaa2c6b-goog >
On Sat, 27 Jan 2024 at 00:19, André Draszik <andre.draszik@linaro.org> wrote: > > This bus has various USB-related devices attached to it. > > Signed-off-by: André Draszik <andre.draszik@linaro.org> > --- As Sam said, you could be a bit more verbose on what those USB devices are on the bus as they aren't enabled in this series. But apart from that Reviewed-by: Peter Griffin <peter.griffin@linaro.org> > arch/arm64/boot/dts/exynos/google/gs101-oriole.dts | 9 +++++++++ > 1 file changed, 9 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..c8f6b955cd4e 100644 > --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts > +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts > @@ -72,6 +72,10 @@ eeprom: eeprom@50 { > }; > }; > > +&hsi2c_12 { > + status = "okay"; > +}; > + > &pinctrl_far_alive { > key_voldown: key-voldown-pins { > samsung,pins = "gpa7-3"; > @@ -113,6 +117,11 @@ &usi8 { > status = "okay"; > }; > > +&usi12 { > + samsung,mode = <USI_V2_I2C>; > + status = "okay"; > +}; > + > &watchdog_cl0 { > timeout-sec = <30>; > status = "okay"; > -- > 2.43.0.429.g432eaa2c6b-goog >
Hi Sam, On Fri, 2024-01-26 at 20:58 -0600, Sam Protsenko wrote: > On Fri, Jan 26, 2024 at 6:19 PM André Draszik <andre.draszik@linaro.org> wrote: > > > > This bus has various USB-related devices attached to it. > > > > [...] > > > > +&hsi2c_12 { > > + status = "okay"; > > But there are no bus clients declared here? A bit of explanation about > how this bus is being currently used would be nice to have (in commit > message); e.g. maybe it's used in user space somehow, etc. Because > otherwise it doesn't have much sense to enable the bus with no users. As per the commit message, there are devices, but: * most or all don't have an upstream driver at this stage * it does make sense to enable the bus, as enabling it allows working on the drivers for the devices that are attached to this bus Cheers, Andre'
On Mon, Jan 29, 2024 at 4:40 AM André Draszik <andre.draszik@linaro.org> wrote: > > Hi Sam, > > On Fri, 2024-01-26 at 20:58 -0600, Sam Protsenko wrote: > > On Fri, Jan 26, 2024 at 6:19 PM André Draszik <andre.draszik@linaro.org> wrote: > > > > > > This bus has various USB-related devices attached to it. > > > > > > [...] > > > > > > +&hsi2c_12 { > > > + status = "okay"; > > > > But there are no bus clients declared here? A bit of explanation about > > how this bus is being currently used would be nice to have (in commit > > message); e.g. maybe it's used in user space somehow, etc. Because > > otherwise it doesn't have much sense to enable the bus with no users. > > As per the commit message, there are devices, but: > * most or all don't have an upstream driver at this stage > * it does make sense to enable the bus, as enabling it allows working on > the drivers for the devices that are attached to this bus > Then can you please add the corresponding TODO comment on top of the code you added in this patch? And perhaps also describe which devices you have on the bus in commit message. > Cheers, > Andre' >
On Mon, 2024-01-29 at 09:28 +0000, Peter Griffin wrote: > As Sam said, you could be a bit more verbose on what those USB devices > are on the bus as they aren't enabled in this series. But apart from Done. A.
On Mon, 2024-01-29 at 10:34 -0600, Sam Protsenko wrote: > Then can you please add the corresponding TODO comment on top of the > code you added in this patch? And perhaps also describe which devices > you have on the bus in commit message. Done. Cheers, Andre'
diff --git a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts index cb4d17339b6b..c8f6b955cd4e 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts @@ -72,6 +72,10 @@ eeprom: eeprom@50 { }; }; +&hsi2c_12 { + status = "okay"; +}; + &pinctrl_far_alive { key_voldown: key-voldown-pins { samsung,pins = "gpa7-3"; @@ -113,6 +117,11 @@ &usi8 { status = "okay"; }; +&usi12 { + samsung,mode = <USI_V2_I2C>; + status = "okay"; +}; + &watchdog_cl0 { timeout-sec = <30>; status = "okay";