From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yx1-f48.google.com (mail-yx1-f48.google.com [74.125.224.48]) (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 78844246BD5 for ; Mon, 18 May 2026 16:20:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.224.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779121224; cv=none; b=gEf/hCchAHr7Ry6Du0MKUD5+mq+kNT74spRDiRipRTyxEJuHCEWsbvoREWb2UWrsBL5kLUaf+O8dSXcivoIzGNZwQLdCi8yGiRVo4HB5FBWeUfhZ3JjE3YbVorLHWtzxoov6Nx0N1aHFvsorNUCvRQQBAlWh/yJo4NfFzj1viws= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779121224; c=relaxed/simple; bh=vdEZEUOs7PRDXYhwPRYrWKYpoelBDrzxoSmk24QTQgk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EmWGTCkDz24/b7XVEGRRbm9y7t7RWnIaUtxSBD9+wNy5CgcRG3kd/iqDZFsuqPxKnUWsjrJ8zILOy0LjeFAUTOhhg8FIlkRMtQY88H5LweZ5vcLhaXXtEy/tjisP325+AaV9KKtaLd8t+P17k7EDZxDQBbysasjr3xaZJmYzMPE= 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=Tv513+di; arc=none smtp.client-ip=74.125.224.48 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="Tv513+di" Received: by mail-yx1-f48.google.com with SMTP id 956f58d0204a3-65c37eafcbeso2811453d50.1 for ; Mon, 18 May 2026 09:20:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779121218; x=1779726018; 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=Mm59fBho8TSPcttA9nMtsPpYbNTzkooRSqlhl7WTUa4=; b=Tv513+dirocYuWNp4yWdL8GR4535jqc0dO/0/qCymsboV9Y5nmmcgYIT8IyGzFrsit xvITzE3Gcl2rnpHkWtMcADz02YxnGzWqzgQPdGOEZZ4xxOqfTkTcKRbVW6XjzYk8mjdY 0TYmjAPr9bG9+BCZz1gXF9CM/bupATQ+9WY6qnWeGOt0FdTiFIw5d/Mf1Nx5uImg2nNh +7KIpChSccZ6YmZtRtbb3OFTZmWFU9432etb2kem23n8U3Hd3XFfoLMLjk3WXcn7Cmmc nVzFXSmrZgwVes9JtDBU38a/brgvqbHawkcrXciZ3xIdyTdwy9iG5p+hS/CvqiU8xulD +c3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779121218; x=1779726018; 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=Mm59fBho8TSPcttA9nMtsPpYbNTzkooRSqlhl7WTUa4=; b=hZ76c186NIe+YC7MoqGtTWunr2rngzgHAIbH0rZ3umRaRXifucWGz35sxnjyNFTtp6 LgQ7Ndkodf2WB5mIdhyeGgXxMKBEPiwnIU+qT44gk27m9RwNn+mtDgRCcSoXnG9lsiur cGh3FUqJKfDQgQ5a2xsiI6oyoVkV/a/kwcv7PRQYXGWGAhU+41TpUES/CtY1h+NjsFWP a6Gilee96zmxoD4OWz4Qevw+hMmSKECBvEPCunN8djDS4WMjhKzUqm2xzkRQwa2YxM60 IJ2mh8bazXkFpund8c+/13nxb8gbZwK8Z7nQb/z2ZLsFM121vVs+H+jiRH86AecHZIWi HfHg== X-Forwarded-Encrypted: i=1; AFNElJ9DjiSo8CJVPRdQSRrfT/vX0JOaQoQGuQR3KtrUGyZHclHhwcNA12t+gcZBanHRemiwPCuCF3CYpq2XERs=@vger.kernel.org X-Gm-Message-State: AOJu0Yx0h8wpr5YE583L8Y6eeGHbWjIH/6vnb7v1QgUK9pCP0ceNHVYN 9e/fW+3CEvNAMzQEN6jX1kQWi3liAUeWadNhLxqc+mfSSeOrz2G8P35n X-Gm-Gg: Acq92OHKXquMaL5/GOBeR/2cmOmA1QMKPr7Eyh12TfxDrazXYmU19dQSw6ErXb0gmWc qmQphgnJxeZallKKrN+vbKzPXKpZ8fh05iQ4f9h7RufgFGb4dmAmbPK+RMQjQV5iq/76/iuYA+C DBqOlWwaWMwWmH5ink0nDlBz0YVvQR50zAJhZpYVu/gY0EfX1/kOhZuJ7PlR27fmZwzPvKCCyMe 8D66Z23xN4pBRpZboHLscIbeGEVqBn5o6kzWnmvPR0X/UZ0t9DLguS6OFs4CjObPdNO8s+ge31P Ht2agpi91J7ixb9ZyxUqIclTErHFUcIw6P7RzXv0vxQx4CpbN2bwEJ/N4K67oYfqXu065f5hHlD 08lbL9CER68clSrIHxlhz3vdLQxZAxIjBF+un4Tdwo8M8MXgoKshXSZJoMVDn3MbHyrh+MlpZC9 ZwzyAvDR3hxzgGEc4pFTgErXtkVgI8WpLf8CUeV8Jz+A== X-Received: by 2002:a05:690e:190f:b0:654:c2b5:b77c with SMTP id 956f58d0204a3-65e226632f7mr15134957d50.7.1779121217793; Mon, 18 May 2026 09:20:17 -0700 (PDT) Received: from fsh.attlocal.net ([2600:1702:56e9:4b40:ed8c:6b8b:1fa3:d14b]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-65e0db60379sm6596021d50.14.2026.05.18.09.20.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 May 2026 09:20:17 -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 v2 2/2] dt-bindings: usb: richtek,rt1711h: add missing 'port' property Date: Mon, 18 May 2026 11:20:14 -0500 Message-ID: <20260518162014.18251-3-akash.sukhavasi@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260518162014.18251-1-akash.sukhavasi@gmail.com> References: <20260518162014.18251-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..05ffc33a2 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: @@ -108,6 +115,12 @@ examples: }; }; }; + + port { + endpoint { + remote-endpoint = <&usb_role_switch>; + }; + }; }; }; ... -- 2.54.0