From patchwork Tue Apr 23 20:19:45 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: 13640621 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 166DFC4345F for ; Tue, 23 Apr 2024 20:20:10 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WVFg5E3MR9EBDDpzVFMEfOBtl8UYl7UcY0aKHMlZOH0=; b=MMLbbeAdatnUzM KEQTawYTjzu5FLnTwb0p/Camp6QnFxRiaL/pzm+gV4247ckC43Kp8PTmpPMpkjsOkbRKOTVZwnFCE gDgoVWzbA9hbzz5+v6NHMcGCYtMA0OsCw4LlNFRUeIB6ASGMStlU8jHa6uogsz8Eabv9J5NwVndGe 7FNMxJ5Ru+d8DX4iNtanmo1sbQobh9T/reiwCwUjZ1L2uGhEAx6l9hbsCRK35gBgYoe8bzOrKEUAp 8PAJeFjf4jlb+4PHCGas4bPX+nkPIXeCmMoK9ptFwBI5NvNs8zaFOr0rpmEzms1clA1Gb/nQIV8Ju XNFbTqM5gmwIYknp3o9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzMcK-00000001ORy-36jS; Tue, 23 Apr 2024 20:19:52 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzMcH-00000001OQt-25BE for linux-arm-kernel@lists.infradead.org; Tue, 23 Apr 2024 20:19:50 +0000 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-345b857d7adso4834274f8f.1 for ; Tue, 23 Apr 2024 13:19:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713903586; x=1714508386; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rZh4v0xh3rOUzx0lgDgNEZWx3gWz2MaFaaSz5XXw27A=; b=qylS4KXXNv1gJN3qdwXyS2uCZxqZdpgf5as7u6ecZnXOOfF/P3dfdBOL05fHgz9Blr SlqImSOFtoD/at4sRODmbrEqA7dCN7XVwHYl8Ml1OSrCc5fEsG/2aU8lPCEz5JoR/GHE qVntIrIvcv57SMtkzEg+tGaWL/mt7wFY73uw72WeEPL0TmlRsXE4N0Sn2+Iv3WxHtIG9 PCONdT2Cw16hJZOGz32Jxv5OAFmr5Ebi9q2sEB5Kxe0NTgZF4UkLYd35nyOvhkR+siWn 0IXbVfzM2krLRRLONA0WRcz7+TJAjFfQlTvAz8a9f/BGYq1BvLoXC0wsBhg+BJQAg0l3 JlsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713903586; x=1714508386; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rZh4v0xh3rOUzx0lgDgNEZWx3gWz2MaFaaSz5XXw27A=; b=Wdo8JjhLZNwMeEVbu8h1v7SNAnTdE5wfU6iEgwxKYjBdex1+ksGHYcEXoiGHHfJTRj A2NS+37g8GuvowjZ5wzl1Ayo/s8MRY81yauSxUV5reBssJcmz+TKxF91KrYuHnpeaMAb pxkQNUmibPhlZy9ELFYrx3Dsqgmz0CnUaYYdH/MPmVtr8h7vUQExJBbl6smdXQzjzd9Q 2NpsaPBoR6VbNpoohrY2a+r1nEByC6hWYxTTAE/lD1SjfvkQK151vU64VLiv1q6u89JT hcmBG97//gy+/LZ2M0m2hUIEutUuMgnuHWpJ97gTsQ9SO0fZL3bgpkIfjJg4TkXOqCHm eGRA== X-Forwarded-Encrypted: i=1; AJvYcCWuXn/HUCueWjLtDWl7tm6eNnYTI3o8FiB5qmA4676gd4zlWFTwe8mjWk9dSnf5qs1iJL1ovkaxt5EXP7weAg/2UrQDOyEN+T8D1wCRPmfnxfjqCdM= X-Gm-Message-State: AOJu0Yyw/Jb5I2VsTKUOKJIk0JGr6xzGvIWIpUUvHM2sAbfldnzXEJqT mmlUi5jaHynEBEFMgcvSHCz5hgZCErpulId+MmB7WUm0GwcplZQUU4NNzkXr3OI= X-Google-Smtp-Source: AGHT+IEVk8IdQBDdbt+6eUNjL8ZwuM4GtjoAlH1F78ZTMRMT6v62264S4wc8kya9gMioEKJPj3KZJA== X-Received: by 2002:adf:f18f:0:b0:347:2055:f49e with SMTP id h15-20020adff18f000000b003472055f49emr183121wro.33.1713903586677; Tue, 23 Apr 2024 13:19:46 -0700 (PDT) Received: from puffmais.c.googlers.com (8.239.204.35.bc.googleusercontent.com. [35.204.239.8]) by smtp.gmail.com with ESMTPSA id i7-20020a1709061e4700b00a52244ab819sm7552431ejj.170.2024.04.23.13.19.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 13:19:46 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Tue, 23 Apr 2024 21:19:45 +0100 Subject: [PATCH 1/2] dt-bindings: usb: samsung,exynos-dwc3: add gs101 compatible MIME-Version: 1.0 Message-Id: <20240423-usb-dwc3-gs101-v1-1-2f331f88203f@linaro.org> References: <20240423-usb-dwc3-gs101-v1-0-2f331f88203f@linaro.org> In-Reply-To: <20240423-usb-dwc3-gs101-v1-0-2f331f88203f@linaro.org> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Peter Griffin , Thinh Nguyen Cc: Krzysztof Kozlowski , Tudor Ambarus , Will McVicker , Roy Luo , kernel-team@android.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240423_131949_633612_C809CADF X-CRM114-Status: UNSURE ( 9.18 ) 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 The Exynos-based Google Tensor gs101 SoC has a DWC3 compatible USB controller and can reuse the existing Exynos glue. Update the dt schema to include the google,gs101-dwusb3 compatible for it. Signed-off-by: André Draszik Reviewed-by: Rob Herring (Arm) Reviewed-by: Krzysztof Kozlowski Reviewed-by: Peter Griffin --- .../devicetree/bindings/usb/samsung,exynos-dwc3.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml b/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml index 1ade99e85ba8..2b3430cebe99 100644 --- a/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml @@ -12,6 +12,7 @@ maintainers: properties: compatible: enum: + - google,gs101-dwusb3 - samsung,exynos5250-dwusb3 - samsung,exynos5433-dwusb3 - samsung,exynos7-dwusb3 @@ -55,6 +56,23 @@ required: - vdd33-supply allOf: + - if: + properties: + compatible: + contains: + const: google,gs101-dwusb3 + then: + properties: + clocks: + minItems: 4 + maxItems: 4 + clock-names: + items: + - const: bus_early + - const: susp_clk + - const: link_aclk + - const: link_pclk + - if: properties: compatible: