From nobody Wed Dec 17 12:08:04 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E39DCC77B78 for ; Thu, 20 Apr 2023 06:50:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233894AbjDTGu6 (ORCPT ); Thu, 20 Apr 2023 02:50:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231426AbjDTGu4 (ORCPT ); Thu, 20 Apr 2023 02:50:56 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 609D21FE4 for ; Wed, 19 Apr 2023 23:50:55 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id dx24so3928540ejb.11 for ; Wed, 19 Apr 2023 23:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681973454; x=1684565454; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BZBSMQktnT3sOUJ8njJfewAafajqx7+l0kvMw5MkbYc=; b=RMcG5R9F0ItlJ2Yrczy/iqBbaS7ytas5ZRJiSKNtI4UK6iwyRLAn0or2Q0pP6C2CNl ln3RBOH7cZEvk7Pw6R28HEyxmkCbiozpSGCm9onw3qNuKpcsHPe+0OA1cCCaqIqnxsSJ d3YXZMS1gIHJX+FZP50Y7AjaEgYa2FOix869bNkLGaQJPuCNomaoIl9Rj95El9kEH9Iv 7TCqNlEmrkSRXfhY3Q0Vf1yGfn7blmeG/oFfpRDQ03o5A3XRvFWqBP/LM94Q4znn8TQi kGU6vd43n8wdFdavuEASTVuLLDJsQWcyu2Iv2hwa3kD/hMyXoyHr1RwfMAnjacMzdjbw OpcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681973454; x=1684565454; 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=BZBSMQktnT3sOUJ8njJfewAafajqx7+l0kvMw5MkbYc=; b=OKhj3rNJfbEvT/NL5aBfy/6udEOoBs277WTlPifGWQ5eqOQ5vM0zDD9E2nyyiEfseS j9LU6WJczTfa21+fZSa5EeQ5lUm0LOaOiBriyKIxBHCiRsY3JGoI0vAc6W/zsIKodyh5 1ftFz/nFeVN4DiVg1EBnQJOtx/C/PAsmrhr0YZN4jAZ+8WF8zFMlwFQq7GZiyY1tlx0p 5jc/0j5Hsg2ZM2UfJrvZDGxNuFGkJZT3+sWOr6hFKJHnpb8qfuOBR/2soQjZf7ZiZxSy x7HwAKJrnb7+zjU2zJ7Q84M6YGM7zutCE7TTKc0JAAeBJucRv0KvE0DJHYNVayzOHdLR TY2A== X-Gm-Message-State: AAQBX9eiO4d4S1olSA0CL6g67bHvRFBizOEEPDfGD5be4HAGAWy7xwbx dD8JsOXz+t/SAR97CtEjrevn8w== X-Google-Smtp-Source: AKy350aUCP1fGimAyu+iszpo1b0WXJNidAqhDBXkSrvxhoJ10XZCYH/yQsD7vyt04SPPV+9V+qCh/A== X-Received: by 2002:a17:906:57c9:b0:93d:ae74:fa9e with SMTP id u9-20020a17090657c900b0093dae74fa9emr498351ejr.7.1681973453837; Wed, 19 Apr 2023 23:50:53 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:bcb8:77e6:8f45:4771]) by smtp.gmail.com with ESMTPSA id lh21-20020a170906f8d500b0094eeab34ad5sm360048ejb.124.2023.04.19.23.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Apr 2023 23:50:53 -0700 (PDT) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Xu Yang , Peng Fan , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: usb: ci-hdrc-usb2: allow multiple PHYs Date: Thu, 20 Apr 2023 08:50:51 +0200 Message-Id: <20230420065051.22994-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Qualcomm MSM8974 comes with USB HS phy in two variants, although final DTS chooses only one. Allow such combination in the ChipIdea USB2 bindings and also disallow any other properties in the ulpi node. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Peng Fan Reviewed-by: Rob Herring --- DTS will be fixed separately. --- Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Docu= mentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index e5e4dbc5a7a0..b26d26c2b023 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -322,8 +322,9 @@ properties: =20 ulpi: type: object - properties: - phy: + additionalProperties: false + patternProperties: + "^phy(-[0-9])?$": description: The phy child node for Qcom chips. type: object $ref: /schemas/phy/qcom,usb-hs-phy.yaml --=20 2.34.1