From patchwork Mon Jan 29 17:40:09 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: 193615 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp727037dyb; Mon, 29 Jan 2024 09:44:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IFxiXvtwDrfQN55NItqM02cwvv3Wwe+RrOYP+WKm6ENesEDTl5cp6i4eXeyuYCHbRQ/qdIY X-Received: by 2002:a17:902:7ed0:b0:1d8:f9b5:f247 with SMTP id p16-20020a1709027ed000b001d8f9b5f247mr822385plb.26.1706550270202; Mon, 29 Jan 2024 09:44:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706550270; cv=pass; d=google.com; s=arc-20160816; b=SgpvMMHv9qxBBbdxJf8kg0/T7ewVEiyQ0amdUwOz8kVv2s26NzqTs925DtCtvyxxFU W0Y82qrMsQNbbVuE/4AcTo8KWsJi864G87P7k6ZBiWzV5COM49HTCUW8ZMCY9y/5iHYw AO0E6p12IdTNKQIIM0A0C0NjsvZ3nua+I+8ZBp3RzC4i0o8b+a8u0lv+fA0mQf3wBL+x ywosWVViA3hVovsywwHLAV0ZIUm6syUkSOOW7opOE6ZDIPxeD6XiiGn/PbJhrAo7w11a A/6qdBd9Ytsk/WEptDwuOdk0nKwctdQh4xifXEtX+1CgOKPJp07mmqx82nbRPpGpm3Mr BUDA== 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=lvAE0+fmvTQFFSzj6Dft6tKLSUPrgAbTsR8MYrmwQCs=; fh=8reC8e0HcV0MJy7py+sfUDpVu1OHAjLFVMlR0qWOMS4=; b=yDgv5EiAq5+ngZ5EROdMSZvd1oR+vzXMBuxfr60RAp9mNPPDjKtG5tmuJnwvhjRBsB RQ9vV/DB8PDcWcahSuDfK9JlKEnsoOMYv6ZPgH01aWvHjXhDZkHT+dl9ZIbDe2HBlUsP 4ZSp1sisxZ16rQUEZySrUTQDag4nl1Kd5f5Xrd1BrDRE7l4TP7haFW71wfSENIjHVlNh X2bAK3dfaGa0oerAykrxEpZ/oRk4DVL3gRJXQD2DaOEZXLqS01GSygH4vVq1Nfq86bsg w6lOU/j8RTix2l8mj4SSVqR8ORefJJY3Iy9jr39MbHLG1GrYVu+gsqGRWK7p1YNNFha6 lvjw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="rZOKeLV/"; 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-43215-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43215-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q6-20020a170902b10600b001d5c0d3f5d1si5909684plr.395.2024.01.29.09.44.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 09:44:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43215-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="rZOKeLV/"; 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-43215-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43215-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7F61C287316 for ; Mon, 29 Jan 2024 17:44:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 395B01586ED; Mon, 29 Jan 2024 17:42:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rZOKeLV/" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 5955C76C96 for ; Mon, 29 Jan 2024 17:42:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706550127; cv=none; b=TrDAAtm6h/FpS4pcyvcjp30um8LY37XEU8ZOdbE/MqWnnSzpX+R27Pxkq3sARsCSvAgAapCIuEh7/RlkFjqYXlZ78H7q2LOOv4KZahvtXE6CbPe0mDLN3PyMbptBIkEZzFeWLnmSZqLeiPFol9zZwhMN0v4zphzzc6eV1kEF+JM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706550127; c=relaxed/simple; bh=NdU2LIEnp5ujFawnyZ2tpXI9lweTV2bJLnqL5ZSnYQI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fnRsfH+uUwYeodVXQoO0FR8ZECeL0ejFSR8cgcMC15YAaRG+qEGxVUOlC4kOx/3bUotXgqY1cfrKSJTponShYqiBwihoBc8c/TGCwFWyp64/blmnzK4FFt3gIM3aB8ebYieVL0gqm6cMAeUVqJE7uDYqag6i5pY4RbfJMrv46UQ= 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=rZOKeLV/; arc=none smtp.client-ip=209.85.218.48 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-f48.google.com with SMTP id a640c23a62f3a-a35e0532900so117322766b.2 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=1706550122; x=1707154922; 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=lvAE0+fmvTQFFSzj6Dft6tKLSUPrgAbTsR8MYrmwQCs=; b=rZOKeLV/lH7u5IPLu1QfLdNHJQ7OrBnIXnWkTGCENEQ0omr3ryRFjji108WlvTDAkE yM7EaZCUI9IuncfW7EF049ORbMUYKyHsVU9nHEhy8Spum20e3zvnaVcz6IZGeKVOQJQh rKpV2uq6/9KTkcmBFZfoiXIiKGTA14PkhZJDH/ML4Gnua5spzCYQyFGYf8cyuVrOSv0y 3Ah9dCYKGU3x5wpR58cey7Wo7Q9NMMqEy7xxeOOUHUeoeRt97Ge3GYV8DirdaLJ8nMy/ yD2RbNVc41vwtViSvj1ZJq8Lm3dtuq2iHQHtmcW+towZPCA+lNA/Twpx/BWmPObAAAlV ofvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706550122; x=1707154922; 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=lvAE0+fmvTQFFSzj6Dft6tKLSUPrgAbTsR8MYrmwQCs=; b=A/c7P3qVogUpcZ2eD8lE16Mi7wOz1yg0sQgOwO+0JN8wxh6W0uat7Tan4DRqLplWss lnh078pqbxec245/DPlPTgMOCVQO29xIkop9pIGIEX2UDx+D07MhiKGgKfeaNgGiLNMK o2T6qr7/KATnTvQA9aS1/aDc9QTnjwkzXAX3uvdL5FEAdiRcnFaQ5qtui3iDNVTyybhq DWQmNiVI4us2BmyrFOn9OvRmOk1iv7JiaQAjRqcZ0Cq2jd8a08IOYq3of+0fgq3qom7C 3C2sIWZlg30UqgJxPGeDm9vfZuWepG5KuTRityBCvEEEC7B9UVEyM8uqP+eFM8EHv3sj nVHg== X-Gm-Message-State: AOJu0YyUIbJaETW+/14qlpNpt7h7FWRka372DO2hs497qeYKRiN+xbWu qpyUquSgzvZ6a5Yqsj/V2CGe/cok4fe09/q+PeyjUNZuBv5O+BfpNkOK5C2irk8= X-Received: by 2002:a17:906:fa04:b0:a28:fe84:f2c6 with SMTP id lo4-20020a170906fa0400b00a28fe84f2c6mr4933587ejb.15.1706550122504; 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 6/7] arm64: dts: exynos: gs101: define USI12 with I2C configuration Date: Mon, 29 Jan 2024 17:40:09 +0000 Message-ID: <20240129174151.1174248-7-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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789447656244016754 X-GMAIL-MSGID: 1789447656244016754 On the gs101-oriole board, i2c bus 12 has various USB-related controllers attached to it. Note the selection of the USI protocol is intentionally left for the board dts file. Signed-off-by: André Draszik Reviewed-by: Sam Protsenko --- v2: * reorder pinctrl-0 & pinctrl-names * collect Reviewed-by: tags --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index e1bcf490309a..9876ecae0ad8 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -451,6 +451,36 @@ pinctrl_peric1: pinctrl@10c40000 { interrupts = ; }; + usi12: usi@10d500c0 { + compatible = "google,gs101-usi", + "samsung,exynos850-usi"; + reg = <0x10d500c0 0x20>; + ranges; + #address-cells = <1>; + #size-cells = <1>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_PERIC1_TOP0_PCLK_5>, + <&cmu_peric1 CLK_GOUT_PERIC1_PERIC1_TOP0_IPCLK_5>; + clock-names = "pclk", "ipclk"; + samsung,sysreg = <&sysreg_peric1 0x1010>; + samsung,mode = ; + status = "disabled"; + + hsi2c_12: i2c@10d50000 { + compatible = "google,gs101-hsi2c", + "samsung,exynosautov9-hsi2c"; + reg = <0x10d50000 0xc0>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-0 = <&hsi2c12_bus>; + pinctrl-names = "default"; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_PERIC1_TOP0_IPCLK_5>, + <&cmu_peric1 CLK_GOUT_PERIC1_PERIC1_TOP0_PCLK_5>; + clock-names = "hsi2c", "hsi2c_pclk"; + status = "disabled"; + }; + }; + pinctrl_hsi1: pinctrl@11840000 { compatible = "google,gs101-pinctrl"; reg = <0x11840000 0x00001000>;