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: 37277 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2105095wrt; Wed, 28 Dec 2022 14:03:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXthWnfFFeypJcbstqZu4SHt75BCkU3+S4BwdtYc9LRoQZWuiGLYv95oMo+ARc6E3tUc5Pkp X-Received: by 2002:a05:6a20:a5a7:b0:af:8786:f7d7 with SMTP id bc39-20020a056a20a5a700b000af8786f7d7mr36182349pzb.21.1672264998743; Wed, 28 Dec 2022 14:03:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672264998; cv=none; d=google.com; s=arc-20160816; b=k2PEsqPgzB4qLkkRWhI8STR25P46wO7hSlLbUfsHBh7KYTkQkItBrc0o2pDAvqiIJW pJ69rppuQ9OgVHekmTAA+YNxWTzdxMSAQeDCFctbZjTZZ1RXeWubXyvzRrMDUUw1pBbi iYf4YX8Ckp6vmeW65Bw6R3iUlZqRudP6Wvme63/gSHc/AbqtkTFOLBDj+Cl8CtSf3asm 9ZcfSzhwaKf/5/Zw2y2ysB5Y/mAIWpoBk0DR5WZ5gy2zOJ4GmIssM6V+2dvZv9LKWGGy EHbw7GQZ+AOo3pbdZGI1wWrpFAzSPfBCBazfTM+7G/ma9SjD5CE9nre7cFRU/yxdaWi1 i41Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language:cc:to :subject:from:user-agent:mime-version:date:message-id:dkim-signature; bh=LXpwDRhegkKqFBKPdsaD1Z/bgeJAmjFVHZvc5PWsjjE=; b=fawwbyyasjD6Z/vMnGrWcKZousxZ7B5Ok/OpY8HZOIaQ+OwqmeL+v1lO1QRBqg+5TM HIq5T3BoVIY+UxTEUC6dWV4YOG/9yPJPauQyVjs9Hz/0v378CtbLft+g66BM/Lg5XXfD FwJa/bJ6ekh5G/vVMlnLOWOADF/1LW9dNS5PwLJqRapbouVIKadVLqc5IxKdhnjTyqwH FhdxAFPz9pnIzbHfv7JR9dgmRsxw+UNvD6mqxLoYq6SnTBi4g+fH8kyw0EjQjc7WzNwu E391fKhFJ+5WdLT71bwof5ayqhMW4UmLzErC8c6QA38Us5m6qp0I/w3q5xOBsxDjZC25 a/0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mEV36ZK+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n64-20020a632743000000b004773bf41b74si19112974pgn.30.2022.12.28.14.03.05; Wed, 28 Dec 2022 14:03:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mEV36ZK+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230388AbiL1WB1 (ORCPT + 99 others); Wed, 28 Dec 2022 17:01:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229603AbiL1WBY (ORCPT ); Wed, 28 Dec 2022 17:01:24 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18657D12F; Wed, 28 Dec 2022 14:01:23 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id u9so41244731ejo.0; Wed, 28 Dec 2022 14:01:23 -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=l/0zQxzg2znVbTISxcxN/hFCimnsiKQzdcI8FdL2BkG2xh6sUi76AnttfOAcLm83En Y08X5On0lUmEzoHFueGAxFN9p+Fb4eMLjK9Ey0WrsjXqNobvy5NrkOnM+KdLv1Pxy6XS jbDabICFgjHr+jEUhss34r9aEDBzRhvWMUeiWVur+kZQTyyEF+cuIlz4VNZm74j0jcU/ 8ycI6SJJbV4BFdKEu1yMPXRSs5mRMDsmwQEDEnSpaHiwB8vISWJbY1o3xuaXJnAuo0NT YoRULa12EY+fUfrCDyDRsg4OvYNDQ1smiIYgiCr+1yNUJaFmiD1dOayEGlCsIC8TplDP ev/w== X-Gm-Message-State: AFqh2koytpL6Ot2OmvIcht/OdXkLE+S+aJDEDnPlWeUYKCkCkh7oa9Xl NNzC1uCUS2T8ikF8QduJFI0= 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-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753496943398402571?= X-GMAIL-MSGID: =?utf-8?q?1753496943398402571?= 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: 37278 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2105227wrt; Wed, 28 Dec 2022 14:03:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXv4RGjgE5ptUKTKydwnD+h/3uVqnSalz4caNB6r5ArfQIwZQ5lKhzDMPW2mNpXc9Zb3HzDN X-Received: by 2002:a05:6a20:548e:b0:ac:19cf:1553 with SMTP id i14-20020a056a20548e00b000ac19cf1553mr38212253pzk.61.1672265020008; Wed, 28 Dec 2022 14:03:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672265019; cv=none; d=google.com; s=arc-20160816; b=E19NmGBdtjAArOlQwhKb21FHYNgssggmYvC1YT3L/Ir4LXsul29vQTiOTr8te5qYic 96q0BWSnsXzlKJamWgrRtoSDFzgsfiVNn/id3I4+crkVmHTlBFAEpIqUW2AqyEVTiNGu P4TbBlx0+VoaNOfqmh/DLh3ytcIfwdfqDPrIXeaALCgl/gLguD2kzIrxOTIH8ECv6Gg5 8uQNQ1R3uFV9sYirIgKCKlKwXhzpD3gwenH/3rD1w0RWq3jVYR4Xc8ciS86wXeRa2E1u ry9MjOvDteqcLwV0qJmLlY3pNZd4fiUDq+OY6P/kSDE2fpuez0nWPMMul5MLZN7ugsjz hiBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id:dkim-signature; bh=gQqaQ/wQbcI4YtddNbhttJQQrklrXjxNeRKfhUI3Hs8=; b=escbKQryZbQ2e/KdFIM4hJ5MxSqOKi4g4HQtbH/wNI4EMQPxHfg7gJPvc0V8byHgci wrzuf/F4UyNRr1czMm2l/j5FSHArMJJ0v0OhTMufhtC1w1tFde0diWNXtz3RwaP+buEv SaicFKdzXK2GXhGM91x6PeRkhQIH09vY65cQxu3aJA2ppoWv7a2PCNVmsCUQMGxjr8JR K35OAfb7IhvM477EAHgI8JCxTgb+L/7MqziSV+D7De6QVN8sDWY+ubbH/cv1ftMg4oqU BKTqWVQbfddsHF8FCEBbBojenuBj558VZ+DONM4hbS816+wqXu05wn2O9VNajGv5Pqkj S8eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WEoYhhH4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v4-20020a634804000000b0047ff30aead2si16878007pga.841.2022.12.28.14.03.27; Wed, 28 Dec 2022 14:03:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WEoYhhH4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231177AbiL1WCt (ORCPT + 99 others); Wed, 28 Dec 2022 17:02:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229603AbiL1WCq (ORCPT ); Wed, 28 Dec 2022 17:02:46 -0500 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 E7D5FD12F; Wed, 28 Dec 2022 14:02:45 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id vm8so34225632ejc.2; 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=ku5W+ApIO4Gdlpj7dZkxkETlOxnEuyATaFWLjoCRGF+pwIEoWUTeR+f9Lg5glHv12v 0u8dQ2HVPY5Xyljl5azPCrO3MhRpKQNUnUgGjrPI2Ot+pdqD9iiofNo3566/96cmweQ7 RUfqJuZoYcOn4nxdrdLy3yFNgBLJM21aQU2LQW6Fdk9y9Lj6c3OmIpYT7ru9YoXAILCc srn1sEkylSDDhBmPEEGHbZSyrwW9HNJl1P+3QwvnlVvK6iXuTS/w89X+DIxURJ2AO8u3 goaYCSJUK7VIRxJ0Ibj+F/vCj9KmhTAlFaBZJtrnJn4Hkz1hIpDvb1KtO8sOe4bR6Vma iVVA== X-Gm-Message-State: AFqh2kqMR9BLtWbd75XUVKivUDq4l+R6SkCDi5BzohadjGyzcRnRU/xS SRC1qbb95Lp6uPQC9QOhnzE= 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-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753496965518957368?= X-GMAIL-MSGID: =?utf-8?q?1753496965518957368?= 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: