From patchwork Thu Apr 20 06:50:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13217951 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 EB4DEC77B72 for ; Thu, 20 Apr 2023 06:50:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232115AbjDTGu5 (ORCPT ); Thu, 20 Apr 2023 02:50:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229749AbjDTGu4 (ORCPT ); Thu, 20 Apr 2023 02:50:56 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 661A826B8 for ; Wed, 19 Apr 2023 23:50:55 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id z6so4051639ejc.5 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=WK7ZGEPCs7es4JMbT9N22fSfO/RWEGp+RjGH95ZORsPwFpvfSI9OmbTRIT27uhCDGp R2ISX8NfStcNmajEnXpJhbZk6BN132lsSDeIWQf2rLhYGyo2KWZ+Patrb129kMY1d3O9 u5PMounlgiDJWFRmOJbp/gvBMvl4XliV0dXUOjUBWNOIqHExYNI4cmEybDsOiNk5yADX LpU63d7lL121H/z/p3fgoh8zmtasL6P4hqbK4BGAIkepdAmvtLI9wWFXQYhXHuBCdLib lZVFLSE4WwG1EfY1Sfpa+b2UzFM4qyyLBYZYYx2F17hkcEZpJZvzTfMio39a4paDODlr Mm4w== X-Gm-Message-State: AAQBX9fUJ4+APY9eJL+jBLh/ly/oxvxcd5PvZAJnDxCQ1eRd5ECPU2mD aUWzjK8wIKWmrXK+XvuT1iA+Bw== 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 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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: Rob Herring Reviewed-by: Peng Fan --- 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/Documentation/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: 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