Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3653738pxb; Mon, 24 Jan 2022 14:31:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJw9Vgr/NMKen7KpjV7RitChLejJjrcG4JfH4j9NDNm0u/rmxRlkHfvOKaQazKs8a5vx83kq X-Received: by 2002:a05:6a00:114d:b0:4c4:3df:edf8 with SMTP id b13-20020a056a00114d00b004c403dfedf8mr15843122pfm.54.1643063500411; Mon, 24 Jan 2022 14:31:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643063500; cv=none; d=google.com; s=arc-20160816; b=Gi8SgmARweuE9YtLPCUuWdzpvkzUP/qi4LX4YFUSBIt/pcI3fYU81wCNP764lr+pd/ w0yrfwT4mfep3P5MWW88DRFD+g9o0nz/l4L2C+Yow+BHJURhtjzhv+ZbZDKt7/kG6Y06 19xrlODXw3VGuNxSiqTm/bDeso4ynAxKT1SQRLnpWiUzT//rJ+jCouBzYk8ATlv6rsCf KyTn13ty0XH8HuKXpQDIG8d8MyV7vtxd2FX2bpNP+VuQ7nyXcHtG32zSWqntsFqkMvHX cn2UXKPP6TqwBmPK8/XgvQUEuS4q3/Hw19+HIjq40Psx9KcRd4tFBNVc1bsjQA+u6DZD YGBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=IPpYH8N3kPBgitEE6D4Sgd2oTf6iAGNBh1jvmLwG4EA=; b=b+VioOixbCGoTFFRGQ11VcZfIRlWCndFJN6zywZkVPLogfYiasnjKEBhVqJQtDWDtX aK+B0oZxiey1qj5myHa0O3aofJfJSm4xkPWgwAQnqR8MzMsqQWAS+tV27+a80QkJfayI hoYTxY9GvJSGgZC6hEwvvUlmfcdTSVAQ6RpeOrYyVfzOo26k78OBcHmFWB+gnOGbYLwD kZCkYpNR1mscolHQT3aF8L++uZmDtLX8IYbYKVAbJMo9yGbF4lHBv48AYxMsfSqDJgqO yYpcywqsgm8G5fFQjmWUHXKeHkcUO7JxymSFBgiBUh7R2WKmIGIIyX64dpC3q2kMjL8C lYNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lEfC3++5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d2si1151225pll.234.2022.01.24.14.31.28; Mon, 24 Jan 2022 14:31:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lEfC3++5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443767AbiAXW27 (ORCPT + 99 others); Mon, 24 Jan 2022 17:28:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1455664AbiAXVfu (ORCPT ); Mon, 24 Jan 2022 16:35:50 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 788C6C0BD10A; Mon, 24 Jan 2022 12:22:55 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0F1D961008; Mon, 24 Jan 2022 20:22:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DEF95C340E5; Mon, 24 Jan 2022 20:22:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643055774; bh=fxcUChu8wZsG+kDRiTO+SG2o6+LS8qKV+WZdXN75Qa8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lEfC3++5yzaijz0X1mQmpzE7uRUGitk7IeyvHLF2GvloAQMQT4eTzCZ8tGez70Hwj KdoMZ4AHP/VbogVqPTD6xOhx+6KBtKX47nzthVKoigYfzjy4EUbGqYUrQvckj3qjFU N3s+j2Nof3GCLAPcoITXuSpa6jQunQz4PmfDW63o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rob Clark , Douglas Anderson , Laurent Pinchart , Stephen Boyd , Robert Foss , Sasha Levin Subject: [PATCH 5.15 254/846] drm/bridge: ti-sn65dsi86: Set max register for regmap Date: Mon, 24 Jan 2022 19:36:11 +0100 Message-Id: <20220124184109.706592593@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184100.867127425@linuxfoundation.org> References: <20220124184100.867127425@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stephen Boyd [ Upstream commit 0b665d4af35837f0a0ae63135b84a3c187c1db3b ] Set the maximum register to 0xff so we can dump the registers for this device in debugfs. Fixes: a095f15c00e2 ("drm/bridge: add support for sn65dsi86 bridge driver") Cc: Rob Clark Cc: Douglas Anderson Cc: Laurent Pinchart Signed-off-by: Stephen Boyd Reviewed-by: Robert Foss Signed-off-by: Robert Foss Link: https://patchwork.freedesktop.org/patch/msgid/20211215002529.382383-1-swboyd@chromium.org Signed-off-by: Sasha Levin --- drivers/gpu/drm/bridge/ti-sn65dsi86.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi86.c b/drivers/gpu/drm/bridge/ti-sn65dsi86.c index 41d48a393e7f5..4d08246f930c3 100644 --- a/drivers/gpu/drm/bridge/ti-sn65dsi86.c +++ b/drivers/gpu/drm/bridge/ti-sn65dsi86.c @@ -188,6 +188,7 @@ static const struct regmap_config ti_sn65dsi86_regmap_config = { .val_bits = 8, .volatile_table = &ti_sn_bridge_volatile_table, .cache_type = REGCACHE_NONE, + .max_register = 0xFF, }; static void ti_sn65dsi86_write_u16(struct ti_sn65dsi86 *pdata, -- 2.34.1