From patchwork Wed Dec 28 22:01:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13083223 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 33504C4332F for ; Wed, 28 Dec 2022 22:01: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:Cc:To:Subject:From:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=LrmxDtz6XsxZ3vtM6nci26HlH6holutY+oK5Q6vvlNs=; b=d1ndaCa28sTfFb XOM+l6J8Nv392c2IbTPQBV1r0x1svQlzGiMSYECcmh2Yvf7FCv65NknMQb6xDZ18v+O6WjYrsuobM hWz+oeUi4kPYbZZXv+aIFUJd36KTjxfG8SHSGE0Rq3PsTGfu1JKKPEvfAtfbAMHFa5+/jhCxX9d8g PUORZh/DjTfGCsS9SRC17K2cdO/vKqkIRXkuzZQSFwQC+0WihILxJR7EduFw1N4uO2hHPo5YWeDhj m41otlx5gJBtArTk5+PLLy/NJVUDEf73rA0/HDc4riznyuUkg68X4NpKLL58Sm5VZ+l+dvTv1eE7U 9JsEm7c6CoIbwo/yiXbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pAeUV-008ZuP-Dg; Wed, 28 Dec 2022 22:01:39 +0000 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pAeUG-008Zp3-5s; Wed, 28 Dec 2022 22:01:25 +0000 Received: by mail-ej1-x62b.google.com with SMTP id fc4so41061582ejc.12; Wed, 28 Dec 2022 14:01:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=LXpwDRhegkKqFBKPdsaD1Z/bgeJAmjFVHZvc5PWsjjE=; b=mEV36ZK+fCaMEqG4mCqf7EjZ6FEcrzK2F+Mr106XvI/3vuZEqfb6RA5+2sTYiaoSb1 jtnM8CSYWdMhkaDFcBFlFg+6WiQAKTPDkHHJ8SJOWim5gNrnoRhV3ju6f9MeQda9uUKE IZRFLJPJdHoYBdwYwMFKJIcN1Bd9Po4Wax9bA1m/pZ/YGsHpFmYu27K2dqBefitDeY/b idcc4s4+sxWpVZj9/1SoNOKOc75A8AZIZHQcrPQDIX++e3NEWprn+1PHdUgci5wlywtV jfeqelvZ/y3sWwyIPDbWKO2ahfxvV3rLd1sBmSTGBHJlmMd4rQrkwWAROxB6Id33RZXZ KlgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=LXpwDRhegkKqFBKPdsaD1Z/bgeJAmjFVHZvc5PWsjjE=; b=RU02ebcOVCuAk3LW1oBQIR7JvgtuP90RIVmAU+FP04ERf1zdOdbQ7Uw3DlcSUHFVWI xUEV4YF/bf5G2MziyHt7dZslxDjECB4fpO61SDIJ41EZQKgEeFprsJM1XT7ehEbGNHvn 8DgPkaxKkTlbPoZiBDSsA4FZtuSCaejitDEnU/s17abHJ5JQ5V8UWjLzWc3LopNK6qTF W4PYJVoLmMxNxYXxjIKSpLBRdTYR1j4Tj0cMNP0ERDNbp6mDbsLf1GBoZ0rLpCes2HYr KJ696KSPg6ixqGVIS/g5HMASqM76JqUVxjcF5zOTzs+6LXXR02jBgFgh9PpVuv0Oe6J9 dtDw== X-Gm-Message-State: AFqh2ko+0yOes5n7sJOgJ6W6dgEO8hdKdnc1wRzk4N7/a+51nqhT1Mri HMJvycNkelJazDDgquHw5nY= X-Google-Smtp-Source: AMrXdXvayKNs2MYNNK3ZiUuIf9BdTvY0mtNtigekQbnGc542UVm7F0Z961eejRZ1qUTItjDYTiwM9Q== X-Received: by 2002:a17:906:60cb:b0:84b:b481:6188 with SMTP id f11-20020a17090660cb00b0084bb4816188mr12899468ejk.64.1672264881524; Wed, 28 Dec 2022 14:01:21 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id a14-20020a1709063a4e00b007e5856d6359sm7781741ejf.66.2022.12.28.14.01.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Dec 2022 14:01:20 -0800 (PST) Message-ID: <5fa3aaca-4e49-8baa-68c4-2b3981400d3b@gmail.com> Date: Wed, 28 Dec 2022 23:01:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 From: Johan Jonker Subject: [PATCH v1 1/2] dt-bindings: phy: rockchip: convert rockchip-dp-phy.txt to yaml To: heiko@sntech.de Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-phy@lists.infradead.org, vkoul@kernel.org, kishon@kernel.org Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221228_140124_260911_B656D49F X-CRM114-Status: GOOD ( 13.05 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Convert rockchip-dp-phy.txt to yaml. Changed: rename file name Signed-off-by: Johan Jonker --- .../bindings/phy/rockchip,dp-phy.yaml | 41 +++++++++++++++++++ .../bindings/phy/rockchip-dp-phy.txt | 26 ------------ 2 files changed, 41 insertions(+), 26 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/rockchip,dp-phy.yaml delete mode 100644 Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt -- 2.20.1 diff --git a/Documentation/devicetree/bindings/phy/rockchip,dp-phy.yaml b/Documentation/devicetree/bindings/phy/rockchip,dp-phy.yaml new file mode 100644 index 000000000..73f75ab1c --- /dev/null +++ b/Documentation/devicetree/bindings/phy/rockchip,dp-phy.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/rockchip,dp-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip specific extensions to the Analogix Display Port PHY + +maintainers: + - Heiko Stuebner + +properties: + compatible: + const: rockchip,rk3288-dp-phy + + clocks: + maxItems: 1 + + clock-names: + const: 24m + + "#phy-cells": + const: 0 + +required: + - compatible + - clocks + - clock-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + #include + edp-phy { + compatible = "rockchip,rk3288-dp-phy"; + clocks = <&cru SCLK_EDP_24M>; + clock-names = "24m"; + #phy-cells = <0>; + }; diff --git a/Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt b/Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt deleted file mode 100644 index e3b4809fb..000000000 --- a/Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt +++ /dev/null @@ -1,26 +0,0 @@ -Rockchip specific extensions to the Analogix Display Port PHY ------------------------------------- - -Required properties: -- compatible : should be one of the following supported values: - - "rockchip.rk3288-dp-phy" -- clocks: from common clock binding: handle to dp clock. - of memory mapped region. -- clock-names: from common clock binding: - Required elements: "24m" -- #phy-cells : from the generic PHY bindings, must be 0; - -Example: - -grf: syscon@ff770000 { - compatible = "rockchip,rk3288-grf", "syscon", "simple-mfd"; - -... - - edp_phy: edp-phy { - compatible = "rockchip,rk3288-dp-phy"; - clocks = <&cru SCLK_EDP_24M>; - clock-names = "24m"; - #phy-cells = <0>; - }; -}; From patchwork Wed Dec 28 22:02:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13083224 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 A2839C4332F for ; Wed, 28 Dec 2022 22:03:03 +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:In-Reply-To:References:Cc:To:Subject: From:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DT12hxaRhNVFTbqfk2omn5AfX2+B90rUNycpiU3aqsI=; b=qmpzDrY/eZnHVG 1H8IYMSgjArIungNGCSJw0yGCh8hQRyYp3ECx1UU+hrJ2FpkraqBeOTZYYROaquhyS5OWzXWzFU55 qV8eIXiS1+NAWwRvu4JYlWVbi89342KPvYPPe9QmF2v3QOxn6IpP+1CSB80fzQ+0sCf7p+NuXn17J sb8xAOAzLUgZRs++xeSS7JWVNNOEUgG4yVvj+A0EtaqlQBM15J0x04zvM+qwuy+XL5SVpeeWiV1+j 1R861vzEZoh1i9+mxMQTQq6XcqWt8UN9/nAMQH18gHbL4189TfA/f2q4dbFQb4cd5TsceefI6X1gS R4V/4oHGAVknRerVTFYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pAeVr-008aXv-1l; Wed, 28 Dec 2022 22:03:03 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pAeVb-008aMP-Tr; Wed, 28 Dec 2022 22:02:49 +0000 Received: by mail-ej1-x634.google.com with SMTP id fc4so41067540ejc.12; Wed, 28 Dec 2022 14:02:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=gQqaQ/wQbcI4YtddNbhttJQQrklrXjxNeRKfhUI3Hs8=; b=WEoYhhH4lBZb915wZqO2GOv4mkQ205jIX8gGYF+8Uwe9f5l4D/z7uIBf/Nd0mFn78s wzgClnhRyCHJvA/mrmbLRk/tPo1ausDMZBdvfWWyIgGduwc8TiPguV6qrPfyJkkb6hTK v1aoWzopfiEX/FYddIkftdy3wbQV4b2+1tvo5H3Ibp0oRFky8VZjRJtQo+gbDhSfWHmC ge8rvuubZKqgspwlx1deCF+Rp1TG8jFrvT1GowN8opm1bMpKbC3CqGDah8GXSuaDk+Tq o/X4bWyBPDbT9dISRfLZp9AE3GXS7rGl/MpbBzuRVB1S2A8FuUo5JSHVySTwH8IPk8yu 2q3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gQqaQ/wQbcI4YtddNbhttJQQrklrXjxNeRKfhUI3Hs8=; b=35r59+3hyRq7i7ppKskFM/T6CMa+YkbzqAUSnXKmlzFFsdk8/TbBOyiARcO51cO7mw VvBatjCmWXZByewXby28dqSttlREN9bC6VphN6zp+K5T6SvrW7Ga98ciN4yHtimpEOiO yW/e6NZLanljGjenGfckgdc82JmbDjTzteRpDZA03kSIvuj+Qz5sFeyPB3jzvWAszuAS xYXEyzwh9nlTz7fVW59lfq2AYmO3hFvbiN99QQfd9fIMuo+0AWKz5hEptbd9AH812UEy fKFzcudG+1AF4aAcCbGq/wXq34dc0zmlOkc7iHsOLXgbqi3/BbAmPWSZO2KVK+oo63+u fpSg== X-Gm-Message-State: AFqh2kqMq49U6Zhw+Ak1ztwe3L4O4GT72qlbgPhnLbYRRKv7yCnsmv5l ptRIQcMJePuKRnQogCZUcj0= X-Google-Smtp-Source: AMrXdXv6lktDsWMmnORsKNQ5rX8w2xCV0GkzdA+11PmuhI3tQsXEIFCqkIqh4S9j1z9kn3D+jJsoFA== X-Received: by 2002:a17:906:524b:b0:7c1:5098:907f with SMTP id y11-20020a170906524b00b007c15098907fmr21809702ejm.61.1672264964572; Wed, 28 Dec 2022 14:02:44 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id 2-20020a170906308200b007aec1b39478sm7846616ejv.188.2022.12.28.14.02.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Dec 2022 14:02:44 -0800 (PST) Message-ID: Date: Wed, 28 Dec 2022 23:02:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 From: Johan Jonker Subject: [PATCH v1 2/2] dt-bindings: soc: rockchip: graf: add rockchip,dp-phy.yaml To: heiko@sntech.de Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-phy@lists.infradead.org, vkoul@kernel.org, kishon@kernel.org References: <5fa3aaca-4e49-8baa-68c4-2b3981400d3b@gmail.com> Content-Language: en-US In-Reply-To: <5fa3aaca-4e49-8baa-68c4-2b3981400d3b@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221228_140248_014214_FC68487D X-CRM114-Status: UNSURE ( 7.53 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Add new converted rockchip,dp-phy.yaml to grf.yaml file. Signed-off-by: Johan Jonker Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/soc/rockchip/grf.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -- 2.20.1 diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml index 7ac9aa5fa..36f6d85a9 100644 --- a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml +++ b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml @@ -96,8 +96,11 @@ allOf: then: properties: edp-phy: - description: - Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt + type: object + + $ref: /schemas/phy/rockchip,dp-phy.yaml# + + unevaluatedProperties: false - if: properties: