From patchwork Sat May 26 14:33:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 10428985 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 00F4360225 for ; Sat, 26 May 2018 14:34:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E660B2883A for ; Sat, 26 May 2018 14:34:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA70628D1C; Sat, 26 May 2018 14:34:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A7EC2883A for ; Sat, 26 May 2018 14:34:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031764AbeEZOee (ORCPT ); Sat, 26 May 2018 10:34:34 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:38917 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754775AbeEZOed (ORCPT ); Sat, 26 May 2018 10:34:33 -0400 Received: by mail-wr0-f195.google.com with SMTP id w7-v6so1680309wrn.6; Sat, 26 May 2018 07:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=UzBze/1X73D4zoYgvsgWAdLTdGwy8KcvXl/eIqADkWc=; b=Q9UFZzNBFd8Bh372mnuL/zDROOmcDrMJh5DY8JHKNlseTnM/256rdJbsOOfhJ9q8AO QkMyT/3p4ZZabT/Krb62h/EcdTTchYcXKMeujZFcipuqEgW6lOgvfG82JhuCTFNZT2Ej sW0SA8JdM2gB9WOk/XZ5xipoe8Ctq1sfUBZTQH7NBs1W/OI0gp0hNrdRVzr0jZvBGVAR 3gAlUYzwNhR1g7WVBr96vQzFqzqqOADyqyBcwal8Fu8dK0lLx3barB8H1BGU9L8a0VFi P41l4kVpnjN9UQOExf0hRRXKBkTfIW6KBcnBv7MdPeQA6QmqmfPqEXfanuBV5iKchf7v LaYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UzBze/1X73D4zoYgvsgWAdLTdGwy8KcvXl/eIqADkWc=; b=ltv/UPhD9g846p27tNhgxrj8Fsabh3QQjKhcz2QUG3K0Meq54rIO8/R+vD4LwN9OR4 FkerTGJqvsiAabUceo2tt9lAHk7GV0YwXQdqp/7ZiYK3rVXxmhrcMKOasZFjQcu8Y2J9 Xnxs8LFJ5xEtg1KuJuW1HJETGJN78jh70NbVzKJQzbbEsnj6Jq2EZTsXClVqppcERnCz cOambV7P098Vm830LOPtLmSVu9ggMlFuXkjpl6903cFWfACHrqMWfsB6VcZU3zvGtTS8 qME5c/Tv0NJIIdxOt4lmvbS9Ro2Xx6sAfiT+rwXbF3NlhFvMyqDhZtiE8+0mtuSPzXF4 rj8A== X-Gm-Message-State: ALKqPwfU72P6NpXpZhWMFd6z7zENlnj+OoZI8KeGVLotKj5v/QX3KgPf YEtmA7qqFpz5Gifa7Yhiu+J6BGDX X-Google-Smtp-Source: AB8JxZpRT9BS1wI5Fk+3RXSvozfcbXxi2wPbrxSlg42xvVu7j+a93Ro2ipt7OeKp9R77d1hJ5sQ6Vw== X-Received: by 2002:a5d:41c6:: with SMTP id e6-v6mr5638136wrq.25.1527345271847; Sat, 26 May 2018 07:34:31 -0700 (PDT) Received: from localhost.localdomain (109-252-91-41.nat.spd-mgts.ru. [109.252.91.41]) by smtp.gmail.com with ESMTPSA id b15-v6sm11377126wri.14.2018.05.26.07.34.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 May 2018 07:34:31 -0700 (PDT) From: Dmitry Osipenko To: Rob Herring , Thierry Reding Cc: linux-tegra@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] media: dt: bindings: tegra-vde: Document new optional Memory Client reset property Date: Sat, 26 May 2018 17:33:55 +0300 Message-Id: <20180526143355.24288-1-digetx@gmail.com> X-Mailer: git-send-email 2.17.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Recently binding of the Memory Controller has been extended, exposing the Memory Client reset controls and hence it is now a reset controller. Tegra video-decoder device is among the Memory Controller reset users, document the new optional VDE HW reset property. Signed-off-by: Dmitry Osipenko Acked-by: Rob Herring --- .../devicetree/bindings/media/nvidia,tegra-vde.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/media/nvidia,tegra-vde.txt b/Documentation/devicetree/bindings/media/nvidia,tegra-vde.txt index 470237ed6fe5..7302e949e662 100644 --- a/Documentation/devicetree/bindings/media/nvidia,tegra-vde.txt +++ b/Documentation/devicetree/bindings/media/nvidia,tegra-vde.txt @@ -27,9 +27,15 @@ Required properties: - sxe - clocks : Must include the following entries: - vde -- resets : Must include the following entries: +- resets : Must contain an entry for each entry in reset-names. +- reset-names : Should include the following entries: - vde +Optional properties: +- resets : Must contain an entry for each entry in reset-names. +- reset-names : Must include the following entries: + - mc + Example: video-codec@6001a000 { @@ -51,5 +57,6 @@ video-codec@6001a000 { ; /* SXE interrupt */ interrupt-names = "sync-token", "bsev", "sxe"; clocks = <&tegra_car TEGRA20_CLK_VDE>; - resets = <&tegra_car 61>; + reset-names = "vde", "mc"; + resets = <&tegra_car 61>, <&mc TEGRA20_MC_RESET_VDE>; };