From patchwork Sun May 4 14:45:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 887233 Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (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 B1B801C8632; Sun, 4 May 2025 14:45:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746369944; cv=none; b=igpQ8yQGikUPFozYGTLMx6DcH4phJCGdhxv+HEY5tNlcWMw7SofaVrZYNmPOIl+2CVuakS/76VQqGOpVqooVuRZ9zHsyJMAQdRZyPOhEPVjEKBQn8L+VbLYns8ZT9HN1Jc7dcjG7dxgFiy6yRb6UafE34c6eN5/2H5j0Wpujmic= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746369944; c=relaxed/simple; bh=hZE5Mp6GiZHRqhUj85+sXTi8Fs9hMZVjICkycr0tjoI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=W4M787cVeaEDva+qjdzNaeTBtA6lgv2/hphVRcT+cclFYMzrEn7gf3Vhv5G7hF0lFmXATx+lzJNt1RZKz13aXU1UzIKboEg6Wx9LlLR6pcaJYfmIkKawquuNHq1nmdv88XDrh+8Uzc1GLRxT0bJqBu0nqLpgh8/zZ2o8PAlV3h0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=PojG0M4R; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PojG0M4R" Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-5f63ac6ef0fso3848101a12.1; Sun, 04 May 2025 07:45:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746369941; x=1746974741; 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=7BSVq6jDIx0gJiVYHcgvtP/1XdtkFfYyKmECHdYtqDM=; b=PojG0M4R4Ks1GWFYNoGuHn4XDAqykiEIs17bHpsmLQhILv15nujmsY+HKrL5hvH6iv EdmY6khQhPEn4mXPTCT1VZ14rdcByiq71LXAY7UkFphPBQauIk/EMkO811DqHZEraIZU rD+zqm0Mrp+6xtt0vl9uh0770PcuEjj6shUrMLcZAfq3Yh7puwCrsgRHeYj/A+rhw6QR oZVYNwnzz83QZvKHQnA6gy3tG+ldkdX4UM9zNslvan010rN/k+aZpWFHyzVU5CQ4mySC Cxr2H2IlAu20OcPLjESrijimQ+4mN8qSkuOVkLK/vZnTdYb5grjmqdY4PIqw1COj9o+h cyEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746369941; x=1746974741; 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=7BSVq6jDIx0gJiVYHcgvtP/1XdtkFfYyKmECHdYtqDM=; b=CKVeYbFdbbEOc5RgqCIThru2TShI0hBaLvADTdsMDYpsNaIzWl1mYvYkey5dR14CwL s9IToIXTy8IYNTXrhVUHZ/8OWvtqxgklKPlBCeVoyaJSwqPjHuoDwSO7di4ifstRZ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 54DWynGIBkhPb/gcZLhcNvK6Iru05H8TNCs4XUVN7+MK4xqKhUvgFcd7kdsOEk2ZBLbxgQd0DXf CYAeCabpmTRo+phY8 X-Google-Smtp-Source: AGHT+IGseBUdREIdCgIBWp9MzoQsy7P4bCBbCMZPLx3ZedRLperaW69nIVN6ZjiqGB8e6RpDelnxiw== X-Received: by 2002:a05:6402:3493:b0:5fa:e2bf:5491 with SMTP id 4fb4d7f45d1cf-5fae2bf550bmr2184616a12.11.1746369940623; Sun, 04 May 2025 07:45:40 -0700 (PDT) Received: from ivaylo-T580.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5faecf59d31sm1147258a12.77.2025.05.04.07.45.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 May 2025 07:45:39 -0700 (PDT) From: Ivaylo Ivanov To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Philipp Zabel , Marek Szyprowski , Sylwester Nawrocki Cc: linux-phy@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 02/10] dt-bindings: phy: samsung,usb3-drd-phy: add exynos2200 support Date: Sun, 4 May 2025 17:45:19 +0300 Message-ID: <20250504144527.1723980-3-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250504144527.1723980-1-ivo.ivanov.ivanov1@gmail.com> References: <20250504144527.1723980-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Document support for Exynos2200. As the USBDRD 3.2 4nm controller consists of Synopsys eUSB2.0 phy and USBDP/SS combophy, which will be handled by external drivers, define only the bus clocked used by the link controller. Signed-off-by: Ivaylo Ivanov Reviewed-by: Krzysztof Kozlowski --- .../bindings/phy/samsung,usb3-drd-phy.yaml | 38 +++++++++++++++++-- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml b/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml index 27295acbb..4506c5801 100644 --- a/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml +++ b/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml @@ -26,6 +26,7 @@ properties: compatible: enum: - google,gs101-usb31drd-phy + - samsung,exynos2200-usb32drd-phy - samsung,exynos5250-usbdrd-phy - samsung,exynos5420-usbdrd-phy - samsung,exynos5433-usbdrd-phy @@ -33,24 +34,32 @@ properties: - samsung,exynos850-usbdrd-phy clocks: - minItems: 2 + minItems: 1 maxItems: 5 clock-names: - minItems: 2 + minItems: 1 maxItems: 5 description: | - At least two clocks:: + Typically two clocks: - Main PHY clock (same as USB DRD controller i.e. DWC3 IP clock), used for register access. - PHY reference clock (usually crystal clock), used for PHY operations, associated by phy name. It is used to determine bit values for clock settings register. For Exynos5420 this is given as 'sclk_usbphy30' - in the CMU. + in the CMU. It's not needed for Exynos2200. "#phy-cells": const: 1 + phys: + maxItems: 1 + description: + USBDRD-underlying high-speed PHY + + phy-names: + const: hs + port: $ref: /schemas/graph.yaml#/properties/port description: @@ -150,6 +159,27 @@ allOf: - vdda-usbdp-supply - vddh-usbdp-supply + - if: + properties: + compatible: + contains: + enum: + - samsung,exynos2200-usb32drd-phy + then: + properties: + clocks: + maxItems: 1 + clock-names: + items: + - const: phy + reg: + maxItems: 1 + reg-names: + maxItems: 1 + required: + - phys + - phy-names + - if: properties: compatible: