From nobody Tue Feb 10 07:22:32 2026 Received: from cstnet.cn (smtp21.cstnet.cn [159.226.251.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F4991EA7CC; Tue, 30 Dec 2025 02:37:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.226.251.21 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767062279; cv=none; b=AongkUGcQI6fTtyh9V2iB2tdS0ZrybnucRSPbcHjVBkIgw7FrGuIdM898VYJRoEyZ4Sd1KOqR2gxyqUcDtsqCtIxJxfaxpAR8lH9C4r+XVhIRP7El02fbjZxtKV0BwJFJiSHeGFjTn/2TRtSv49ZKQMGKlcYcJCFJPAaoN9p+aU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767062279; c=relaxed/simple; bh=6KXel9ci3OJix6JgeFLvPK0gXnZ8UMnjCQpKTkXMtao=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dKrwEYflB6ydlY+qrQCmM2Khy550hD3br4ulVQ8YBI2rS72WrM6qNt6aeOn1J7yqnuE+oeAUrz/+ear8bP8W9DQZaFILVTn+DHHkRcqItQ0Sjtj2vu5awMTLWW6c9zjrKL1b854hxd9sGsCnOYg8LJBJvVICebvHLDBtAwHNaEE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=isrc.iscas.ac.cn; spf=pass smtp.mailfrom=isrc.iscas.ac.cn; arc=none smtp.client-ip=159.226.251.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=isrc.iscas.ac.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=isrc.iscas.ac.cn Received: from duge-virtual-machine (unknown [223.160.207.108]) by APP-01 (Coremail) with SMTP id qwCowACXQW3oOlNpIqZOAg--.5334S3; Tue, 30 Dec 2025 10:37:35 +0800 (CST) From: Jiayu Du To: conor@kernel.org Cc: vkoul@kernel.org, gregkh@linuxfoundation.org, pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, neil.armstrong@linaro.org, krzk+dt@kernel.org, jiayu.riscv@isrc.iscas.ac.cn, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-usb@vger.kernel.org Subject: [PATCH 1/5] dt-bindings: phy: Add Canaan K230 USB2.0 PHY DT schema Date: Tue, 30 Dec 2025 10:37:20 +0800 Message-ID: <20251230023725.15966-2-jiayu.riscv@isrc.iscas.ac.cn> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251230023725.15966-1-jiayu.riscv@isrc.iscas.ac.cn> References: <20251230023725.15966-1-jiayu.riscv@isrc.iscas.ac.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CM-TRANSID: qwCowACXQW3oOlNpIqZOAg--.5334S3 X-Coremail-Antispam: 1UD129KBjvJXoW7Kr48Aw4UurWUtrW3Cr1UAwb_yoW8XF18pa yxCF9FgrsagF43Zan3KF18C3W3AFZ7CFyfCr12q34DtF1DWa4Yv3yakw15Z3W7AF1xJFW2 vFZIvFy7Gr4qyw7anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUmj14x267AKxVWrJVCq3wAFc2x0x2IEx4CE42xK8VAvwI8IcIk0 rVWUuVWrJwAFIxvE14AKwVWUJVWUGwA2048vs2IY020E87I2jVAFwI0_Jr4l82xGYIkIc2 x26xkF7I0E14v26r4j6ryUM28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0 Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1l84 ACjcxK6I8E87Iv67AKxVWUJVW8JwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UM2AI xVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20x vE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xv r2IYc2Ij64vIr41lF7I21c0EjII2zVCS5cI20VAGYxC7M4IIrI8v6xkF7I0E8cxan2IY04 v7MxkF7I0En4kS14v26r1q6r43MxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j 6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7 AF67AKxVWUtVW8ZwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE 2Ix0cI8IcVCY1x0267AKxVW8JVWxJwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcV C2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2Kfnx nUUI43ZEXa7VUjrHUDUUUUU== X-CM-SenderInfo: 5mld534oul2uny6l223fol2u1dvotugofq/ Content-Type: text/plain; charset="utf-8" k230-usb-phy driver supports USB 2.0 phys integrated in Canaan K230 SoC. Add YAML schema for its binding. Signed-off-by: Jiayu Du --- .../bindings/phy/canaan,k230-usb-phy.yaml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/canaan,k230-usb-p= hy.yaml diff --git a/Documentation/devicetree/bindings/phy/canaan,k230-usb-phy.yaml= b/Documentation/devicetree/bindings/phy/canaan,k230-usb-phy.yaml new file mode 100644 index 000000000000..f1c9511c873f --- /dev/null +++ b/Documentation/devicetree/bindings/phy/canaan,k230-usb-phy.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/canaan,k230-usb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Canaan K230 USB2.0 PHY + +maintainers: + - Jiayu Du + +properties: + compatible: + const: canaan,k230-usb-phy + + reg: + description: + Two register regions for USB PHY in HiSysConfig syscon block. + items: + - description: USB PHY test control reg (pullup/pulldown config) + - description: USB PHY core control reg (PLL/transceiver tuning) + minItems: 2 + maxItems: 2 + + clocks: + maxItems: 1 + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - "#phy-cells" + +additionalProperties: false --=20 2.52.0