From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (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 42B3540DFA3 for ; Mon, 18 May 2026 14:29:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779114546; cv=none; b=t/dEzxWodFlpIfS8whDzJJVbB7VvsNCZcz8n++LoJp8vPRSI3vK0uyWL8p/qyIVLUbsnBL1nhQAP2ymAQd2loD+WDKDMy9b7yShao6uQe50k8qCsV6MeVLNdoAuVHLG0emAg+a2K0AcweESjX4EZjvn7iJF270xqrR2lZqXQEps= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779114546; c=relaxed/simple; bh=jZS0cfoCx0fWKIraDqZnTPmyRkWvp91bnw4H+4AY/W4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=d1Okk+1F4FRayqEIr2vGnAQYL0sO51/GnGhjFGdE0dsdyenVueSry/9fOhUJpwvsi0j3+p5tVGlDeuAirOocNrrvxRtgl9FWQI7jb+nWb0924oWJ39kn3/ZpY+nzg4cZFsu2KXiZnyr8r9WbLu2kSprC5TRpvDFWwKeayK3rfZ8= 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=sgzTHPlF; arc=none smtp.client-ip=209.85.128.174 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="sgzTHPlF" Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-7bd4c61765dso17655917b3.3 for ; Mon, 18 May 2026 07:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779114544; x=1779719344; 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=InSESvH6SbYX4PPIUX4JXAvnZujlKzjBMLYv/0HgeqA=; b=sgzTHPlF6xeBrYUZ4oFlgbUDzPsHmVY8wZSfnEjI2L8TBcLBMlCUYvN24+/bnI9YC3 dZM62AatoZjZ8nJqqBZ1mB6+8gxR7Fh3DrYcFfpg9ilXk/EBIMS1+Uamvj81nJoxkE7X lEJpbcJmcFXn5bzKXfMkGfwu2DFiLgEJWBuEkl2+R8o/vD9PgtVXdqgVkNwtlUhJSa7p d/UX/7rxE/uqEDD3wyQlEgvSF4w8g52LepAW61pvrcarXI5sIhGBWWppFTb/K3N/3Rwd wS8v015TrosoklOd3r47BBswIKFEM+Oel3cjAqaAlsgFmUPNIOT6RQjL9yFHB6sVbQov ipMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779114544; x=1779719344; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=InSESvH6SbYX4PPIUX4JXAvnZujlKzjBMLYv/0HgeqA=; b=KhLIac9RORC0+BAHlsn/Gumc7xgaRFKk1Ofqb9yKYpgju/5eAi4P16nHyB72oLOc5v HDylnypwDYSLKBZ7cO32qLh3TWtsa4irVbkV+Ci/TDkpK5egDqLnB6P++fY8y1PyyMRV /s8qcVD20Olq6IE9qVuVxOS4ngPmWQ6O2ZydZ/0Qj1lpTmXFBWL7UNTSxf+383wGkUHr hzAXAwwjGF7jHUHCtNz4ogL8i9O8Jx4te3Wt3tQeiNReH8YPn6h/yGsItnaD+8eV+ZJj vhg45BWxYViKdNqjFmOjrI7f9e8nOqjFoJcfPslqvRMmnizVf52s58GdYFDmEculuQRA d9zw== X-Forwarded-Encrypted: i=1; AFNElJ838R4D76akPsJznP0IhOs00lqq1XnrpSVqpsTDq9bnCDvSCHDVYfIbTOjuWj72+99/8oepim59462n0OE=@vger.kernel.org X-Gm-Message-State: AOJu0YwbQtP9Qgwvmqma0GlClSwlhm7Voq3NSkCCbex9kJMwa6Q2tIFK ikvMdE/qJz/HwkkOjUK+1tyNx4of2VDJGCDzT8lYj1bWjy0qtuxT6Kci X-Gm-Gg: Acq92OHxihplRqUWs3sw2cC8j7iCuzQqU0nDRp9BRq3w/HRs2sYhAnE1PIZSifL2acg iEcufD5NvZLinDqsF2IXGFFsKOkdoU9FCyoTaHrEVQ4VPVfa9ufmXg4mIBqOCLBtfR0C+XI5ZHp CLKAFQYWYhaWzP0Sf1T8LLIZFwjmv1lRfkLcb3rq+pQaQrcYktzQ084TrlH5X/Btn9yX9QrR1mQ DKvl+GQ1KmfjT5Vr0nPG+iEhmKlEUNfmMY+qz4N+SwpB+S6Tz4ZM+pjlllEmq53RiCY34qSdqRW 76wYjRcx+sG1PgZ7Tb8HQPZ1ByypwgyS6+G8QQJXHy3dVyXk4FRMayXm2b5yMkmWZ5yBAXoyeXN /UDkbR5AVNn8KA02OFTErkpyr3GxgizAXSOpIo4dBLE7Mi1lRjlJFiIovo+smeJBvtAKT48wg3b Yb6apBDlGBp8m1gcqS0VcgqDFYXcgViUjuYgXu/E5UdQ== X-Received: by 2002:a05:690c:e566:b0:79f:7972:f89a with SMTP id 00721157ae682-7c95bd1b4b8mr135891887b3.28.1779114544188; Mon, 18 May 2026 07:29:04 -0700 (PDT) Received: from fsh.attlocal.net ([2600:1702:56e9:4b40:ed8c:6b8b:1fa3:d14b]) by smtp.gmail.com with ESMTPSA id 00721157ae682-7cc997cb156sm22094067b3.18.2026.05.18.07.29.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 May 2026 07:29:03 -0700 (PDT) From: Akash Sukhavasi To: krzk+dt@kernel.org Cc: robh@kernel.org, conor+dt@kernel.org, gregkh@linuxfoundation.org, gene_chen@richtek.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: usb: richtek,rt1711h: add missing 'port' property Date: Mon, 18 May 2026 09:29:01 -0500 Message-ID: <20260518142901.1747-3-akash.sukhavasi@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260518142901.1747-1-akash.sukhavasi@gmail.com> References: <20260518142901.1747-1-akash.sukhavasi@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The schema declares 'additionalProperties: false' but omits the top-level 'port' property, which hi3660-hikey960.dts uses to describe the role-switch graph endpoint. This causes dtbs_check to emit: hi3660-hikey960.dtb: rt1711h@4e (richtek,rt1711h): 'port' does not match any of the regexes: '^pinctrl-[0-9]+$' Add the missing property using /schemas/graph.yaml#/properties/port, following the pattern used by realtek,rts5411.yaml and other USB controller bindings. Update the example accordingly. Signed-off-by: Akash Sukhavasi --- .../devicetree/bindings/usb/richtek,rt1711h.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml b/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml index 7ded36384..fd7f29179 100644 --- a/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml +++ b/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml @@ -52,6 +52,13 @@ properties: description: Properties for usb c connector. + port: + $ref: /schemas/graph.yaml#/properties/port + description: + OF graph port describing the connection to the USB role switch + consumer (e.g., a dwc3 controller with usb-role-switch), used to + convey type-C data-role changes signaled by the TCPC. + additionalProperties: false required: @@ -107,6 +114,12 @@ examples: }; }; }; + + port { + endpoint { + remote-endpoint = <&usb_role_switch>; + }; + }; }; }; }; -- 2.54.0