From patchwork Mon Jan 29 17:46:05 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: 13536134 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 A018FC47DDB for ; Mon, 29 Jan 2024 17:47:42 +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=4evPGOYqU090k0nGB7Bni8l3ENxBQGA1nFQPcmsImzA=; b=qKpd9+FRwNQezs CnvvLNL+eZSEQrXSHMppZ4AzCNRWKomqtucUPH7BPqtG+iNQxleK9Eq/YqrbzS7kl1a4aYReL0/Ih DbjaCTZE50euDOCSZwSd/RU9tNeTqxiI++Gq/MuUiuO8RIcgpx2v5LnYdy/N9VIv1JkKrAxvLI12X cpgTO65Aqvj9s7dtgUd2mJdpOphKiPh4CiN/3L14Gti3JqKdE0zaUk0alYZo2O7ewCxKHVMqjvbUU HBN9VkWHVCy2RQg5QD9H5/uUhRsDANjsvHGnxtKWwpR+dlMzDinsMCg+PBYO4W7mmW8fwkOK8RrBm wmBeGYshx7h+SGiLjEYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUVjJ-0000000DnYs-1Ter; Mon, 29 Jan 2024 17:47:33 +0000 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUViy-0000000DnMj-1wPH for linux-arm-kernel@lists.infradead.org; Mon, 29 Jan 2024 17:47:14 +0000 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2d057003864so376771fa.3 for ; Mon, 29 Jan 2024 09:47:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706550430; x=1707155230; 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=lvAE0+fmvTQFFSzj6Dft6tKLSUPrgAbTsR8MYrmwQCs=; b=Urr+XkUKKgFvdO1TBRcD5DZx5M7nortStmoiKrD3JuQ7D7/LGZL4pG/KhtpOQixcT9 /P5XaVKJzQet+VJPo28Oy0TVnrOsTWPTXMaWgQkmAdMBVoEoqhO/H3hUnD7J5RvkeYTk lDvqOWDZVSrgMzmI3kjBv8/rsoRXoIVsbzptp0Dy1beNF8hm6kCvS7ttEvbisQMSaxVa 9tRs9HtmCi2209puaTg8ELObQrLHVZa1GTlukeQ94dCpvi0xc1ACss8avW1h1XRCnCRi pug6puUitbqaCywITqZYwrX0Y5I6pAjdapzoVW490QUA2XSxUcn4wVCjrIDONWb2gZ3z Agqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706550430; x=1707155230; 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=NcsFVVVx+QkXtWJRqtlTi2OYKyu+ie1ZISI+lbrrKEQBdgvR/wcBlLtDFi8D2hONUn e1RD9MSwRzSoPcABwBokG+dlE5CZ2v54tO1ETsFIIHIRvRQluGk3QoG69iZXdDRjqGzg 8iWfC7mTJRCuof2CUGaoWZZUQf0Oe6/ENV68PLoLU3l0cl/1Rf0McyvXydv8Bk8LFMfK aSssC8iD2b8rH3JIB4es4uJ/PMC64a3jiSWBqFmu4+roBKkQGETfci2ZNJV7SnWjY/Wx I1b0GYoVyAeGPHSzY7nbuLYV5abI0NeajKMe6jPFSOyIMCRoHvWC6T7ZSF0rRxMnHInu QsaA== X-Gm-Message-State: AOJu0YxS18o+DNNIYlcQ5Z/JQqfp1m/A/FPvBs8wkhox+kwqj9XGrUVk x5b+HuOx+NZJV+72XCV4/Pjcxyd/kEkiWvsZeOQRbf5l053pVJdRHPXM+cIiH78= X-Google-Smtp-Source: AGHT+IGvk8+lvWbrIUDM0jnh0+lwoANpM4fqu2MQ/az18FlOLLv/0Y2uNiyiPGuyQ0z+d0ql2Ygo4Q== X-Received: by 2002:a2e:a278:0:b0:2d0:4c36:8cbf with SMTP id k24-20020a2ea278000000b002d04c368cbfmr1852012ljm.16.1706550429751; Mon, 29 Jan 2024 09:47:09 -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 u10-20020a05640207ca00b0055f08fa9286sm1000999edy.23.2024.01.29.09.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 09:47:09 -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 Subject: [PATCH v3 6/7] arm64: dts: exynos: gs101: define USI12 with I2C configuration Date: Mon, 29 Jan 2024 17:46:05 +0000 Message-ID: <20240129174703.1175426-7-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240129174703.1175426-1-andre.draszik@linaro.org> References: <20240129174703.1175426-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-20240129_094712_574882_13A1806E X-CRM114-Status: UNSURE ( 9.55 ) 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 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 Reviewed-by: Tudor Ambarus --- 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>;