From patchwork Tue Jan 30 14:57:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13537562 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 0C9E6C47DDB for ; Tue, 30 Jan 2024 14:57:43 +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=bbMRrj+0qUWIuUZ+hOHMNbVfQCK4hIWPLhS2hmZujvA=; b=01Zk+WibWYpipF O0fnkUAj+Sbl9tpR3WAzWn8MXWtxDEPh4SJJbh8+0iti4q7RwW29KEPZ3yI1B8TJELHXcHkuSjavX gQY+CFQtFM7OmOlAyq8WmYkYtxGODcuQm4n1VgxtFMZXQ2BS8ML3N+I3plhrmbPBlGirD9K0TeDGe SpEfoGtq2krSljD1jENPvxzksV3KdHmccG+4OYRqq9DDxZkn9qOW7+CUX2DVoQJ5HfM7DaS27l4gm fwYigKPJrtId2393MScYjj5BmShxZIr/lSjbbp0aucYQvcXj16UPyyCpwXsCEVmM/OM7s0N56uGgH 8uqIvrT/hkDbXVViBHcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUpYI-0000000H3NV-2psf; Tue, 30 Jan 2024 14:57:30 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUpYH-0000000H3MR-0303 for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2024 14:57:30 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-55eed368b0bso4453682a12.0 for ; Tue, 30 Jan 2024 06:57:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626645; x=1707231445; darn=lists.infradead.org; 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=yBP1sbQ2NlcbjUdIKedXdoU619EWO8zH/xknpjbpMbs=; b=C7wmizm2jZB7O1NrmLc8FUBeT5FCTXrJ4MCRgX7yenqqLCAvIKdprjtWkzU485khH7 BqMz88yoSa9i8/V4xa6SBCS36mhV+MIPJu4HX49Ph/3ZkV0Gxxa1dVr/M6RBOm8YOLaB snMOB6M8ot/sVh1iuiI5OxWveHzDFo6f9lMbMASXnxrv1jL3Usgsm8y7Y8gQ8jr5jZ7L 2Oc01Ablu2trOcl2C3FljCExoIh7G+1IK1UGIE9QSXatoYAwP0MFhGKSeScDNb/xxpND N0Rpcm2ddjUzYFJppybIckVVgeWt+kWYGmerVTxFhckPL48b2YYKoSqpQGtTGJ1hZfC+ MNiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706626645; x=1707231445; 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=yBP1sbQ2NlcbjUdIKedXdoU619EWO8zH/xknpjbpMbs=; b=YG5I+2UI8W/Cw3LtuMdtvItBNwyNR9r1jSDRzvCAjjaJc1/p80CT7JVBV8BQ2nGC8O GDV71PW75dXS7t0qqA0q9R2QJOEVJWLHFuL6+M93cyExmSxMbGX9EwjuVecemlPrWvkk zdeU1xctbdDy++iut9O1dPtoo3ZioOx65J/KNd9jOPPen8J0/PBZ2/MFrB9nyDLZG9mf ycoWWswlREAxyXttpMj9wl63v90zGUKSyXw+ww/0hVdH7Ona14ho+JYY+BNwtr7ZRmaD Z6J5pkzp4301jsMe+2Mf4ggdzKluZ0JWgL8oPA4Iv1yA/Qz2U4IOk6C/vR0OOB9YMGhN hjYw== X-Gm-Message-State: AOJu0YzIP3Y53GcmevvvPyPC/UQEsfzapUQC5LEJSKmyCwL0TBMDQwEX LvOBP5JhcBwyUdMKDUzq9YDLJyhnOON4kNokwHcr0Vh0gW4wYQw3 X-Google-Smtp-Source: AGHT+IH//S6wHUjFESQBomnwxG2DYoedW49QyrUW/xp6mvOC/FyH5Af9zjaHLj1VUrPKp0hJ355nag== X-Received: by 2002:a50:c317:0:b0:55f:3353:3f5f with SMTP id a23-20020a50c317000000b0055f33533f5fmr1906511edb.1.1706626644679; Tue, 30 Jan 2024 06:57:24 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWD66v/nfypZCrDeVMlFSJTke9rSFnz4LEWI5XDkPB0fIraAKLfu6mEMXGHcIuQO7Pse/Ni6Bo99H8azYLPwTKhq+rqHwYxKilKFAjPVhVIb9a3WOs8hGvfMxENUDzoQ4VJYpNCz3T+ZSWpipsBmX5z4C6QsCrqROr5OwmysLw7SGoy+/KR3Gu1Jofz+h8B2Gyh14swkAwMXk60fqxZdp6Zt4Vj2YK+QWucrV9ymDnAn0tDHrUmPdyf3lJCFWB1i5QAt3HgTcQjyGzo94dHNle1VVQ+XJ3489Z6bt+yEdZbmxfREBkFdg2pQJ9npQ0YN72FkBBqjAPAlt4hZDg94VMvKEGbZbtYpzOl6Eln+7t1WwXcRfZ3XflyDDIkfg5GXTEDmOTpbbOEMojfpmnr+ro/nMcoco3rs7i02aUMZaugZy6ncBWW5+a/RCdwlciXgO+DkLDJFLElYJlaEb4+1laq34wtqzLloBAsh+KwIB93yD2qVmg305liBHJ9DICey9RVdvDTRrEd+oZahc/jZ+mfFbihRvnnYFs= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id w7-20020aa7da47000000b0055f0c027a3esm1879542eds.30.2024.01.30.06.57.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 06:57:24 -0800 (PST) Message-ID: <1ba8b40d-005a-4665-afd9-a4eacf3e3031@gmail.com> Date: Tue, 30 Jan 2024 15:57:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v1 2/6] dt-bindings: display: rockchip,dw-hdmi: add power-domains property To: robh+dt@kernel.org Cc: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, mripard@kernel.org, markyao0591@gmail.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> Content-Language: en-US In-Reply-To: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240130_065729_088501_0B08898D X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. 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 Most Rockchip hdmi nodes are part of a power domain. Add a power-domains property. Fix example. Signed-off-by: Johan Jonker Acked-by: Conor Dooley --- .../bindings/display/rockchip/rockchip,dw-hdmi.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) -- 2.39.2 diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml index cd0a42f35f24..6f421740b613 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml @@ -94,6 +94,9 @@ properties: - const: default - const: unwedge + power-domains: + maxItems: 1 + ports: $ref: /schemas/graph.yaml#/properties/ports @@ -141,16 +144,18 @@ examples: #include #include #include + #include hdmi: hdmi@ff980000 { compatible = "rockchip,rk3288-dw-hdmi"; reg = <0xff980000 0x20000>; - reg-io-width = <4>; - ddc-i2c-bus = <&i2c5>; - rockchip,grf = <&grf>; interrupts = ; clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>; clock-names = "iahb", "isfr"; + ddc-i2c-bus = <&i2c5>; + power-domains = <&power RK3288_PD_VIO>; + reg-io-width = <4>; + rockchip,grf = <&grf>; ports { #address-cells = <1>;