Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp381219rbb; Sat, 24 Feb 2024 04:52:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVse6JyL96b6/+WxE2XyYLcEbSDwYnSqunG8/tqf3LddRKcbpVD1Vc0k3ey1pJ/BDNM2hg4C7eLQK51jwr45ea3+mtZpDhsC7bBLR6xcQ== X-Google-Smtp-Source: AGHT+IEBYBzOgua9lDrQVzYRGUnBQMtQo7IguKlHvLnfxD1EAYFNsdn2GFywmsgG7a1hkBIjTjkx X-Received: by 2002:a05:6870:c18c:b0:21e:e5db:7964 with SMTP id h12-20020a056870c18c00b0021ee5db7964mr3248853oad.23.1708779146291; Sat, 24 Feb 2024 04:52:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708779146; cv=pass; d=google.com; s=arc-20160816; b=LK8lsZc5hk9ufNnIkSaMgDR9Ks+xLh5Z++1RHcoC1cQl0e1aJUgq+2IStY09260Pq/ ZcmtrsbKr+TH7CUkdXASH9JrV63uFU51IMaUIBno19wmHh3lw/FDifhDFZxfZwSb4Hds wSP7320kgM2pQnd19a2fPq1BxCJo5IWLEdPy1TBXtG2BR78eWXGrDFmx5rojyZQMY4dX YxXKwPwNs9B5F2BFW77f3bvHzKSLpcG7p+SNfCcf+HaceIUiIDT0hQXOd2A8jmfpgZat 67nobtIS+ZSpudSQWAIM17HNNIAz1qpNuKNJdIxLZPj9oh3zTL0+ng39gQfyM21uh0f8 DAAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=xI5sCcxvIw+wCH0k/MFKMsnG/9USCpJCifLHFTbuCDA=; fh=01bKJLPvWaBL2E+Q++xcFuIW/c6T7OZLe1u/DGwcpGA=; b=HhnJzGylswqX8dPMw10uvOWTn7I5MdDbrbis6jYNxHS9/CdU8tzcqUt75MX8DRsJfS JNoaAkiNxUgal5eCvyxncNA2evHytuLNFYjScAC6YLsMwaKiNp6RKogNBvfSH6C0kDpR yAKxrW+fkQFi8gIecereEO5RvhumhxJyE3MeXnwBv6csrQrGzzPh5EaEgyY9fCLWzkZP WuXI3o3Ly/g8JKjb7bZa2gzlMcPv6J0nIeBYm8ImKCTpizdsmpstmbQcZRaDakxndMXM Rb5TOuUFYCCZMLNUrpVFDAdVbDODPF5QCGuf8L+w7/HSKUuEDcwZgxi92Odhut7APBq0 pM1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=TAEC4+a4; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-79640-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79640-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k17-20020a63f011000000b005dc4e366f46si863841pgh.127.2024.02.24.04.52.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 04:52:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79640-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=TAEC4+a4; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-79640-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79640-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 8DE95B218E3 for ; Sat, 24 Feb 2024 12:52:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C0E53F9C8; Sat, 24 Feb 2024 12:52:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="TAEC4+a4" Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A036828E3C for ; Sat, 24 Feb 2024 12:52:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708779137; cv=none; b=O+Xw/csPdmW1/mCyi2WG+0GtQMyM203lKFMkDhZQiWHZgC3GI1jsconOB5DzjOazaflyZiTYoN4v9TsKER6isIWDngFS40pyfpE0SZ+CEvazkiGj0V1u3ySlnJycp03fMIDx0EQjK57HJKCrcU8ryPdfLXiWaWb0vcO43lw2j4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708779137; c=relaxed/simple; bh=IxKmzHbKURU66+Gq8LhlzaiwqGSFQlc9MB2J49I73Ow=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RGR4BNAVhGguDXdpK/Va1ZKWompyG9ihWGXnhEJtE0GfVNUztN1GxGkUbA8EeTI3dM21UjLpg6+mZ0ekbAQnlsJM7xW2jsjiSnq7TVOo0HFyOiiZkLs9PJwbvmDJ/RTnPbx/3FTN2QRJeKbNMdfFgShj3L2zYI/8VkaJzlnpQRs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=TAEC4+a4; arc=none smtp.client-ip=209.85.167.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-512e39226efso2343726e87.0 for ; Sat, 24 Feb 2024 04:52:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1708779134; x=1709383934; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xI5sCcxvIw+wCH0k/MFKMsnG/9USCpJCifLHFTbuCDA=; b=TAEC4+a41g2uT19m0TuF5BkVXWAAUlEELiUqnMbYX1v1e8fYeQSBnsZlvTRo8mWPQn tQCwSDPc795z6mYCBqLwn6VZQ2dhAe/0ztOzpLWTB3ZXvguGiLMh4iUxHAoBkvMshPAD v1GpgCl4mdOdIxfokrykXrYwGhpIyeDFkOgsLq8MrkZu7PIwifK4nKbZyn/EJkxWTImv BpYtr0KVnCSdh+Ge+/jUH70pe6SNmV7uYLLRwQozf8o5gL7reruMZ2hDabRIFY2j6can tHTN+e2w5p7UmjSkDkXzXRmUeSzbdyzTs0ShgMuln0cUjgOAaCeAcIIo8FcckIl4uyQu usAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708779134; x=1709383934; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xI5sCcxvIw+wCH0k/MFKMsnG/9USCpJCifLHFTbuCDA=; b=bA2jr9L+Hb5tw0nGQRzmauQnwbvGMzHZ9/4JbHVCRArEnKxNDCg9W0m4P4vCBfnwik zZ5AIPFUpif1ODBsQy2ZI75FF5DsdG4oJuZGihwceRHaGKwJ703koz3JHvnJA3zMH6CM V31/HU3PQFn8qPLOaqkpm3V06964eECG1TjhzJvegvLPNyW+qkpTMO3jp7trlw4FoUMR SVcToMUbv7StyR7+MUGxoO8xUpMQbcSZH1y1DwNVHZbHl51LMmeUUKEeQjXHYWbzF2Hl pjCZMI6BXXD0gVkNeT0iPLIZSg/FjGIIAJIlmgQs+vorV8o9QWcNrUW0FfXqu9QIcCOH wN8w== X-Forwarded-Encrypted: i=1; AJvYcCW60cbg0q0V3JXdBp8btC4deNeF8DsiDn7MQ2jD8WqmTJI437OeHtfze1uCclkcuD7QW0y9XvtTlK0HaZE9fRLFK6HzaFr2LrjStixO X-Gm-Message-State: AOJu0YzMupS+WvH8hN/RvNMeHD3hpBcNoo87GHAowuwZyOzzwqiIoC/J Sn7TTfkmVxANH2gAqM3YFtIqkMpjvSiQgJJiUqBHIAFHuejVmg5XbYhgvPjBJnI= X-Received: by 2002:a19:6545:0:b0:512:bdd3:150d with SMTP id c5-20020a196545000000b00512bdd3150dmr1384907lfj.52.1708779133698; Sat, 24 Feb 2024 04:52:13 -0800 (PST) Received: from [192.168.50.4] ([82.78.167.99]) by smtp.gmail.com with ESMTPSA id nb18-20020a1709071c9200b00a3e45a18a5asm564678ejc.61.2024.02.24.04.52.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 24 Feb 2024 04:52:13 -0800 (PST) Message-ID: Date: Sat, 24 Feb 2024 14:52:09 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 0/7] Add support for XLCDC to sam9x7 SoC family. Content-Language: en-US To: Manikandan Muralidharan , sam@ravnborg.org, bbrezillon@kernel.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, lee@kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Hari.PrasathGE@microchip.com, Balamanikandan.Gunasundar@microchip.com, Durai.ManickamKR@microchip.com, Nayabbasha.Sayed@microchip.com, Dharma.B@microchip.com, Varshini.Rajendran@microchip.com, Balakrishnan.S@microchip.com, Charan.Pedumuru@microchip.com References: <20240221053531.12701-1-manikandan.m@microchip.com> From: claudiu beznea In-Reply-To: <20240221053531.12701-1-manikandan.m@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, Manikandan, On 21.02.2024 07:35, Manikandan Muralidharan wrote: > This patch series aims to add support for XLCDC IP of sam9x7 SoC family > to the DRM subsystem.XLCDC IP has additional registers and new > configuration bits compared to the existing register set of HLCDC IP. > The new compatible string "microchip,sam9x75-xlcdc" is defined for sam9x75 > variant of the sam9x7 SoC family.The is_xlcdc flag under driver data and > IP specific driver ops helps to differentiate the XLCDC and existing HLCDC > code within the same driver. > > changes in v8: > * Re-arrange the patch set to prepare and update the current HLCDC > code base with the new LCDC IP based driver ops and then add support > for XLCDC code changes. > * Fix Cosmetic issues. > > changes in v7: > * LCDC IP driver ops functions are declared static and its > declaration are removed. > > changes in v6: > * Fixed Cosmetic defects. > * Added comments for readability. > > changes in v5: > * return value of regmap_read_poll_timeout is checked in failure > case. > * HLCDC and XLCDC specific driver functions are now invoked > using its IP specific driver ops w/o the need of checking is_xlcdc flag. > * Removed empty spaces and blank lines. > > changes in v4: > * fixed kernel warnings reported by kernel test robot. > > changes in v3: > * Removed de-referencing the value of is_xlcdc flag multiple times in > a single function. > * Removed cpu_relax() call when using regmap_read_poll_timeout. > * Updated xfactor and yfactor equations using shift operators > * Defined CSC co-efficients in an array for code readability. > > changes in v2: > * Change the driver compatible name from "microchip,sam9x7-xlcdc" to > "microchip,sam9x75-xlcdc". > * Move is_xlcdc flag to driver data. > * Remove unsed Macro definitions. > * Add co-developed-bys tags > * Replace regmap_read() with regmap_read_poll_timeout() call > * Split code into two helpers for code readablitity. > --- > > Durai Manickam KR (1): > drm: atmel-hlcdc: Define XLCDC specific registers > > Manikandan Muralidharan (6): > drm: atmel-hlcdc: add driver ops to differentiate HLCDC and XLCDC IP > drm: atmel_hlcdc: Add support for XLCDC using IP specific driver ops > drm: atmel-hlcdc: add DPI mode support for XLCDC > drm: atmel-hlcdc: add vertical and horizontal scaling support for > XLCDC > drm: atmel-hlcdc: add support for DSI output formats > drm: atmel-hlcdc: add LCD controller layer definition for sam9x75 > Only minor comments from me (check individual patches). W/ or w/o those addressed you can add: Reviewed-by: Claudiu Beznea