Message ID | 20240130073505.8916-1-eichest@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-44050-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1054753dyb; Mon, 29 Jan 2024 23:36:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IFAgguzbwjAvFbu3K4bzJAXSKvH17soHl/YPnmtFMDV2DGvP57McsoSEaLDrU44/aGu98bv X-Received: by 2002:a17:902:ced0:b0:1d7:61f9:a5aa with SMTP id d16-20020a170902ced000b001d761f9a5aamr9195239plg.49.1706600160636; Mon, 29 Jan 2024 23:36:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706600160; cv=pass; d=google.com; s=arc-20160816; b=H/jVQR5gwjmOnHzAfesodQ5JCsVcnw9YTjnUU/GXi/sc2X70QT0TTGOOS/6t3rVMpH 8xEQRz5V6WUXBmiwK3gd+i4ISGbnj4za2796l62bE+lcf6+AvxLdzSOD0ZSKwhHoP/p6 BEqB8OAe9FuUc/s7N3duwdmoc96u3dDBXdUC3GRVyAgSjl0OWsKyb4rHrm9b5rRTQEwA k5Yf3zeUU6B846zsR1GTUlNFAg+/wsD/Jh7jES1YhfxjRYCoQiD/K+0xA5uw7zh0tXOg OXmwN/tmdX0EK80UL97bIcJZ/7HbVYwLNgm5R+HYc2N/cbGLRTAsonpn/sq4RNPcC1pd BXRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=TTqUzOyKBgD15tUKZFCKN9Jxdu54AkjHcxdnWoZg554=; fh=pNUmBlC6lbOkgzrSZ9CoMYjvTb7+40AGwFfL0H0NrdU=; b=h5S5oXcItGkTOjj5i3iZxZTzvpP8Xr7kXrWHQXNrikI7P4/UpKm5cJ+JKP0BCwad/w vxl5bSC0H0t2MtW6wsp/SVSi/pwWEBrkXOhGGeqwh1o/t0kBMsK4/l3hPl24TlPJDY0w y8PiFkbFkU/Ny0q2GO6sU36COT4kh/f96co9w05uGrJ60uKvcxNMT2cFnPSSfoRPmDNs WJzsSeVpV/E9rdkfEQBgbfeZlEoq1+1JptDJn7eKoWYYh8MOBMp9VkJOUHys2Bfrfvdv 5Z8jlt3s1EtqGtesMfTiFQJxyKbfMh/sQnJrhMk7j9C41+1AAxOaa41ErO6wpfZIY63g 00gA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KcmEs+dH; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-44050-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44050-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b24-20020a170902b61800b001d098bf0df8si6891717pls.612.2024.01.29.23.36.00 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 23:36:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44050-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KcmEs+dH; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-44050-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44050-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 947F82851FB for <ouuuleilei@gmail.com>; Tue, 30 Jan 2024 07:35:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC33E54668; Tue, 30 Jan 2024 07:35:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KcmEs+dH" Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 A096450A70; Tue, 30 Jan 2024 07:35:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706600141; cv=none; b=W7TK4fEHDnB/pCZaH2aI/3ScpHF8iHHktOwkV9I+zLfBYtfKwxcYqvqcrV34xmxWUzGcgEn3zmFA2nJR3fjAJNnSqNIDTsI2sCs8FaEIf8aiN0sSiNUeJMinT+7foqhhM2O4Uy4E9Zi/9rcVTtP0gV3qVozVpkXZR2D2184FC5A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706600141; c=relaxed/simple; bh=2/Aw873mS/QOuUxr2ZroaN2HZUVyp/VGd9nT01Q/P+8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=pHEidbhumU/5nkDXOWWz4Fpm/Aq3+IYWPmYsDLjf0MRqq3DmYhVmXwofTPM8gTEdhZSQENbpNJFz8R9r9CZ0T5eWkhgwOL+WSkjZ6EeoQxgH1FMcJT+BVR8sJ67JjOZ2ImuZ65Yt9/WVDObDEM6SwfV9BspmdQvuG8IQljaZpjM= 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=KcmEs+dH; arc=none smtp.client-ip=209.85.128.49 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 Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-40ed3101ce3so50033395e9.2; Mon, 29 Jan 2024 23:35:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706600138; x=1707204938; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=TTqUzOyKBgD15tUKZFCKN9Jxdu54AkjHcxdnWoZg554=; b=KcmEs+dH0lIL2WAVmO/h8EOzjstJpROHvKAg01rf0BALFVICeQk422yz27Rv1ccd7g zxCXMEkqQS2/l2wen52zJFvLY0mgH6d2lXCdOxWoAvxXDOKArQ+cFg9HoUu1Xs6SsfKg lDzIrlIRMoSHw0SOuxxRIuHCIK4EOqcL39dEyVrpUhro9RJYECZ+OdIOjtP2hNLko0V4 TmOzKO5iyv2DGD6SpbIxJ/Ie5Hr4Im6/Xrbuwpuh4IfEVSjDBxNAAHmvq7jd5ttE15HH XZh3GxR06TSoo/UEiwzo9GuVVAkj0RvlWkVecgu6Vlaly+ZX5+Nrli6nfeh4ZDqJmy+3 jSDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706600138; x=1707204938; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TTqUzOyKBgD15tUKZFCKN9Jxdu54AkjHcxdnWoZg554=; b=PReAuvt4OBIfoKtSUhMt7edP8djzdsdhog5xqN/SJ0tC0pRgkFX3b0FFFOviLWNneI cyNujj82IINf1czpABYOlhdq0cE8yGI4fRZQwgN7qylKgm5kPJUoi6qQGhS1/u/uk9VH yijHaAPw45fWSRRCJ2ehglF/gS7DWqMg9cFb5+5ENCWff99D98JBr6/mMewucgePoBro frpyBtxHdbZHISrNee5aQOzez9uPUuKXIfmoxA1HROAIjxXm7t79/RTQ643vc9c1/gEW F8QCPvJYZPNN/4o1WFu94DBEQBIcRX2DitvK9FFtYyPGjNMP3MvanTaIzd1CccDOD3/h 6CoA== X-Gm-Message-State: AOJu0YzLD3c9oVczHd+zE3IXzxVljLkdblX08MjJe+11LFfhXbmi/YgU /uVUJkED+sT+dBndj5/JVFpl4EcbC+vJAQrTjVN/FCJ9XRZf31hY X-Received: by 2002:a05:600c:314a:b0:40d:8bc2:6059 with SMTP id h10-20020a05600c314a00b0040d8bc26059mr7392928wmo.36.1706600137533; Mon, 29 Jan 2024 23:35:37 -0800 (PST) Received: from eichest-laptop.lan ([2a02:168:af72:0:ff96:97a4:5bcc:1958]) by smtp.gmail.com with ESMTPSA id i5-20020a05600c354500b0040efb8f7158sm2964828wmq.15.2024.01.29.23.35.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 23:35:37 -0800 (PST) From: Stefan Eichenberger <eichest@gmail.com> To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, piyush.mehta@amd.com, michal.simek@amd.com Cc: francesco.dolcini@toradex.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Eichenberger <stefan.eichenberger@toradex.com> Subject: [PATCH] dt-bindings: usb: microchip,usb5744: Remove peer-hub as requirement Date: Tue, 30 Jan 2024 08:35:05 +0100 Message-Id: <20240130073505.8916-1-eichest@gmail.com> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789499970028544152 X-GMAIL-MSGID: 1789499970028544152 |
Series |
dt-bindings: usb: microchip,usb5744: Remove peer-hub as requirement
|
|
Commit Message
Stefan Eichenberger
Jan. 30, 2024, 7:35 a.m. UTC
From: Stefan Eichenberger <stefan.eichenberger@toradex.com> The peer-hub is used to model the relationship between the USB 2 and USB 3 hub. However, it is possible to only connect USB 2 without having USB 3. Therefore, the peer-hub property should not be marked as required. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> --- Documentation/devicetree/bindings/usb/microchip,usb5744.yaml | 2 -- 1 file changed, 2 deletions(-)
Comments
On Tue, Jan 30, 2024 at 08:35:05AM +0100, Stefan Eichenberger wrote: > From: Stefan Eichenberger <stefan.eichenberger@toradex.com> > > The peer-hub is used to model the relationship between the USB 2 and USB > 3 hub. However, it is possible to only connect USB 2 without having > USB 3. Therefore, the peer-hub property should not be marked as required. This was noticed while adding this HUB in the DTS on a board in which USB3 is not supported. To some extent this is fix. > Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com> Francesco
On 1/30/24 08:35, Stefan Eichenberger wrote: > From: Stefan Eichenberger <stefan.eichenberger@toradex.com> > > The peer-hub is used to model the relationship between the USB 2 and USB > 3 hub. However, it is possible to only connect USB 2 without having > USB 3. Therefore, the peer-hub property should not be marked as required. > > Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> > --- > Documentation/devicetree/bindings/usb/microchip,usb5744.yaml | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml b/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml > index 6d4cfd943f58..14dbb70b08fa 100644 > --- a/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml > +++ b/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml > @@ -71,8 +71,6 @@ allOf: > i2c-bus: false > else: > $ref: /schemas/usb/usb-device.yaml > - required: > - - peer-hub > > additionalProperties: false > Looks good. Reviewed-by: Michal Simek <michal.simek@amd.com> Thanks, Michal
On Tue, Jan 30, 2024 at 08:35:05AM +0100, Stefan Eichenberger wrote: > From: Stefan Eichenberger <stefan.eichenberger@toradex.com> > > The peer-hub is used to model the relationship between the USB 2 and USB > 3 hub. However, it is possible to only connect USB 2 without having > USB 3. Therefore, the peer-hub property should not be marked as required. > > Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Cheers, Conor.
Hi Greg, On Tue, Jan 30, 2024 at 08:35:05AM +0100, Stefan Eichenberger wrote: > From: Stefan Eichenberger <stefan.eichenberger@toradex.com> > > The peer-hub is used to model the relationship between the USB 2 and USB > 3 hub. However, it is possible to only connect USB 2 without having > USB 3. Therefore, the peer-hub property should not be marked as required. I just wanted to ask if everything is okay with the patch and if its fine to apply it or if it needs some updates? Regards, Stefan
On Fri, Feb 09, 2024 at 09:17:02AM +0100, Stefan Eichenberger wrote: > Hi Greg, > > On Tue, Jan 30, 2024 at 08:35:05AM +0100, Stefan Eichenberger wrote: > > From: Stefan Eichenberger <stefan.eichenberger@toradex.com> > > > > The peer-hub is used to model the relationship between the USB 2 and USB > > 3 hub. However, it is possible to only connect USB 2 without having > > USB 3. Therefore, the peer-hub property should not be marked as required. > > I just wanted to ask if everything is okay with the patch and if its > fine to apply it or if it needs some updates? That was only 10 days ago, please give us a chance to catch up on reviews. In the meantime, while waiting, please review other changes on the lists, that way yours moves higher up in the queue. Any reason why you can't do that now? thanks, greg k-h
diff --git a/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml b/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml index 6d4cfd943f58..14dbb70b08fa 100644 --- a/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml +++ b/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml @@ -71,8 +71,6 @@ allOf: i2c-bus: false else: $ref: /schemas/usb/usb-device.yaml - required: - - peer-hub additionalProperties: false