From patchwork Thu Nov 29 09:13:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 10704225 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1DCED13A4 for ; Thu, 29 Nov 2018 09:13:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09A9B2EA12 for ; Thu, 29 Nov 2018 09:13:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EB6592EA28; Thu, 29 Nov 2018 09:13:50 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 53CE32EA12 for ; Thu, 29 Nov 2018 09:13:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2B7F66E024; Thu, 29 Nov 2018 09:13:48 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id B62EF6E024 for ; Thu, 29 Nov 2018 09:13:46 +0000 (UTC) Received: by mail-lj1-x241.google.com with SMTP id k19-v6so1037658lji.11 for ; Thu, 29 Nov 2018 01:13:46 -0800 (PST) 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:mime-version :content-transfer-encoding; bh=Lz8ZeNwta2l8oaBYG9et4SKDRscRgYC8gWXwJhel4ow=; b=SPri7zpv4K7YECIuLZTeYpx9JxisRu8dh2DeIh36fak2ewECnOA4UVUWnYsJXfDyxp ty2r28H3ggUrK2RQ/3BeFZVq9MTelIw+gW8b/MZLCz5QzR29tr83Eh86D0kWQbEFswff 6SDqunE0HmIQjriIfLNgPjeQisHZL9JXxgnVq229lpBGgxPbQIPAtsJW3UKMy+WAh43Q q5kKh/R3PVacF2nNeC/PRhfWG8ybADB7JuAsHAHnEqAMgSEypnNl36LLT04FgcwsfQP5 +IaTPp0OYktjUNcm2b9UrQKPhMCHRxSjw3pJO4LIWUavssQveGIeKB/KyrWOB2M3eADh 5SJA== X-Gm-Message-State: AA+aEWalbuGUot9l8Vqm28c1r/hhqlmDaEYbGSSZ4JOljTCwURfMSf5D nygZd3/KEDx6WQuoHr2Y+aeWRg== X-Google-Smtp-Source: AFSGD/WdLYQvnqyiFVtbHHhhPSuHBPL0gXqIB3lbnhbVtTJP9504ESH1zZ8f1iuwwRYsRfbWRt7uFg== X-Received: by 2002:a2e:890b:: with SMTP id d11-v6mr506353lji.113.1543482825070; Thu, 29 Nov 2018 01:13:45 -0800 (PST) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id m21sm201275lfl.97.2018.11.29.01.13.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Nov 2018 01:13:43 -0800 (PST) From: Linus Walleij To: Thierry Reding , dri-devel@lists.freedesktop.org Subject: [PATCH] drm/dsi: Clarify comment on DSI hs_rate Date: Thu, 29 Nov 2018 10:13:41 +0100 Message-Id: <20181129091341.16590-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Point out that this rate is for command mode or as upper cap on the HS rate. Cc: Andrzej Hajda Signed-off-by: Linus Walleij --- include/drm/drm_mipi_dsi.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index 491528f48cfb..d64e29333e1f 100644 --- a/include/drm/drm_mipi_dsi.h +++ b/include/drm/drm_mipi_dsi.h @@ -170,7 +170,9 @@ struct mipi_dsi_device_info { * @mode_flags: DSI operation mode related flags * @hs_rate: maximum lane frequency for high speed mode in hertz, this should * be set to the real limits of the hardware, zero is only accepted for - * legacy drivers + * legacy drivers. This is useful mainly for pure command mode panels or + * as an upper cap on the HS rate, as in video mode the clock rate will usually + * be determined from the resolution. * @lp_rate: maximum lane frequency for low power mode in hertz, this should * be set to the real limits of the hardware, zero is only accepted for * legacy drivers