From patchwork Sat Jan 29 19:36:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12729624 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 92B6DC433F5 for ; Sat, 29 Jan 2022 19:38:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1X5sm1sRFfSV0DUW38nrm6Zcsk6bmDafdnm7eYQpNTc=; b=rtDmTB2zIiAh2A reWrHStlS06IBkafEGA55QmmUwd8YYsl4z9zqTkYNjeeM3GhXvXD2JxdiSulwLyGqF/UX/xKed2yp /NOYT9uleqkXDcqSOo+k+t3NEoFCtNT4Nt57GI9CHW4x+v0xrIm0jfwhgIoovdm5z8tsU74KEuZVy 0tfD45Z5fuI+norXzbTqUTpr1CuNVI5YyHslymePyu0JaLCA07D8AHKimKAO4g+jwK1E4GVJeC0uW 4Ceb5K3sjvcHNFzcciBSPwUJwQQ/tYqnHZUMibhKCyFuhC1Up44ZM5RB6M9KcRYxxrSttv3dL/Z4p FJf2c3uZfzUx2omze2sw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDtX9-005Jwi-Mv; Sat, 29 Jan 2022 19:37:15 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDtWu-005JtB-CV for linux-arm-kernel@lists.infradead.org; Sat, 29 Jan 2022 19:37:03 +0000 Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 214C23FFDE for ; Sat, 29 Jan 2022 19:36:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643485014; bh=okF8bn5kqmciTynWklIDfopxJdHcfxeyGhxpgYWxZes=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Q4dwReDY0dOgzMKYy+jVC83SFp/llUPQsAjFXD81VJiRM93nBdLTHFGRa3t08LoAf r2AUIcaaDwaMJjyfHj1ZzwNiAGz20kAQj18b21z1aDWFo72wNeYugw/FUy7TNl8RCe q3xr36M/MzRTO2StugAMK+jD+6MEyZIB845PzqnQM8nduTPk++hmCBPs+a+fnCHkTX JAk12VFSiDOeJlW7yrOEUI5jGqasBTRFxQGG+MoIPA1fzCCKuBkabAxBhO4oV311oP Y6Ar116szHOxWc56XIyNmU30YqnZWhi6TH1pCj6v7VdtYwgZfAHLgIXftlzXLzM5dV eq6XxDH+vrbnA== Received: by mail-ej1-f70.google.com with SMTP id 13-20020a170906328d00b006982d0888a4so3774867ejw.9 for ; Sat, 29 Jan 2022 11:36:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=okF8bn5kqmciTynWklIDfopxJdHcfxeyGhxpgYWxZes=; b=ITA10TbyDpXV4td8r8ysEq6FfEu+ybfWtaPImzACzJM0Q7kjfWtweI4TR5RYayGbbl 0YeUZZ7RgfElJxlMD+eXdZnlgNarM5j0DtczodbCyrDu7kJ0B5iIuFkn6qUNp4NR8hvF RsKT9CJQ6caYxQIwp2f3sh2fBfZ5sj9ofgIrm+sgLidC7HzcW5v+eN121JuPBxE0bR7L EsgEsCOxhlCtjWadSIRHsOeAZItASWbdFlGb0FNwMyZ4GHslg/52N5iGnwD8/X/cwVFY NiOALPGHI/a/ak2ytaPkQvIHqDEX9WWjNTgVhyDlgae/mDKOKn3d1DlIIF633SBOwugQ GKvw== X-Gm-Message-State: AOAM533PH4CUakNpGuoMClqaPVBZXQk4cTpP3ph74ZhoCY1TV4VsMvI6 kpEnIqI+tmhjoIXytCvi7zr3MaiaUqEz3OPBW4FnM1ATfsAN1LNpHwSAI9F5sqc8FueSfBTyqRc VuM9YywMltFFT+COSqSX6rrFNaWFU4CJpT3p98sgPqVsY8fWRMrGr X-Received: by 2002:a17:906:99c6:: with SMTP id s6mr12264109ejn.522.1643485013701; Sat, 29 Jan 2022 11:36:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1xIjBHvse+WpQf8zil2xcWN1KmBQHJXw/Zj/fjql+p0Fm4NLryVA+s2m708rnsfFL8b/imw== X-Received: by 2002:a17:906:99c6:: with SMTP id s6mr12264102ejn.522.1643485013529; Sat, 29 Jan 2022 11:36:53 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id bf21sm14968026edb.2.2022.01.29.11.36.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 11:36:52 -0800 (PST) From: Krzysztof Kozlowski To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Sylwester Nawrocki , Guenter Roeck , Marek Szyprowski , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 4/8] dt-bindings: phy: samsung, dp-video-phy: convert to dtschema Date: Sat, 29 Jan 2022 20:36:42 +0100 Message-Id: <20220129193646.372481-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220129193646.372481-1-krzysztof.kozlowski@canonical.com> References: <20220129193646.372481-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220129_113700_768290_A01D7E3D X-CRM114-Status: GOOD ( 17.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert the Samsung SoC DisplayPort PHY bindings to DT schema format. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/phy/samsung,dp-video-phy.yaml | 41 +++++++++++++++++++ .../devicetree/bindings/phy/samsung-phy.txt | 11 ----- 2 files changed, 41 insertions(+), 11 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/samsung,dp-video-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/samsung,dp-video-phy.yaml b/Documentation/devicetree/bindings/phy/samsung,dp-video-phy.yaml new file mode 100644 index 000000000000..838c6d480ce6 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/samsung,dp-video-phy.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/samsung,dp-video-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC DisplayPort PHY + +maintainers: + - Krzysztof Kozlowski + - Marek Szyprowski + - Sylwester Nawrocki + +properties: + compatible: + enum: + - samsung,exynos5250-dp-video-phy + - samsung,exynos5420-dp-video-phy + + "#phy-cells": + const: 0 + + samsung,pmu-syscon: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to PMU system controller interface. + +required: + - compatible + - "#phy-cells" + - samsung,pmu-syscon + +additionalProperties: false + +examples: + - | + phy { + compatible = "samsung,exynos5420-dp-video-phy"; + samsung,pmu-syscon = <&pmu_system_controller>; + #phy-cells = <0>; + }; diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.txt b/Documentation/devicetree/bindings/phy/samsung-phy.txt index 6ab16734eb65..839ffe2a2d05 100644 --- a/Documentation/devicetree/bindings/phy/samsung-phy.txt +++ b/Documentation/devicetree/bindings/phy/samsung-phy.txt @@ -1,14 +1,3 @@ -Samsung Exynos SoC series Display Port PHY -------------------------------------------------- - -Required properties: -- compatible : should be one of the following supported values: - - "samsung,exynos5250-dp-video-phy" - - "samsung,exynos5420-dp-video-phy" -- samsung,pmu-syscon: phandle for PMU system controller interface, used to - control pmu registers for power isolation. -- #phy-cells : from the generic PHY bindings, must be 0; - Samsung S5P/Exynos SoC series USB PHY -------------------------------------------------