Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3038343rdg; Tue, 17 Oct 2023 02:41:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEhZjkH9vZNO82X2L1nrENI6YwtDP1M08j/2fwCxtngqDdvot4wOt429l1KSCxHA8bE+TkK X-Received: by 2002:a17:903:228c:b0:1ca:296d:8ff6 with SMTP id b12-20020a170903228c00b001ca296d8ff6mr2013378plh.38.1697535679170; Tue, 17 Oct 2023 02:41:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697535679; cv=none; d=google.com; s=arc-20160816; b=Y3xU3tX6wIRPsrsaEYD3I5UODJxR6VCfCbxlgwWHpalYyW/c0ZhEg6YF/3Wx8Oz/lm O2jyv6kfmXpQJok4u3iSOISte+KUczpojnB27pKh/xjRSZ/Tk1otNZ9FE6KMaYlOkenL ljf2MVmcRjVi2nBTGOVe35afLTCFJ1//V17twLvplx46387Zf7CvwDa3ViZPciw5GP2y rfppIRo6i7jA050ElvrH7vVJ5sNlC4RAkLU5HIXgKhv8H92Wl6jApX0E7dEQDPaMY0lr lauoxpiNyNBJETMVlnXKu3wVen6xGMrQ9zobp+UR/4YylzThI3i4UJH1TaEayFM8qNHT mBYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=qRpfANk1H0rAcfrgOLMuEJw6Z3mFDp7Ke5p43z51V1E=; fh=W34SOItl1lj8wl9YrT4TiuLL50OQcdfIb7Xa0dpmCs0=; b=F6+45wE9K+jnRxehpA8MN93RI/HGxGC+JqyHp9nrW7MkxWWMcTz8hhHM0tOQhA4m/3 w26AYsmVAxSysO89dmxv2Hjp/zVxcjxEf+dab+l5W6/+L0rwvi9C6C4XDau/fVD2TaRl s6zTqGb1NztpqZJMJi6yq3rloCkzD/77l5odWNaWon2gXtniY8rUjHLO1C3vAvY3HnRA VUcloSUVfi3mln6EPoWC3dOqTgIi/rNTisnUXgL8TyyTpOPOlj8UnD7vVbtS+4E3kUMi 4xfLSSvZ52qNQDD/qlnJAPtvj0ciSQiZ/gGwU4r/vLedBRQTo2VGyMmTxfDTM7kpgwDp x1hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=kVMdTuZa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id kp6-20020a170903280600b001bb2d95f2a7si1290392plb.267.2023.10.17.02.41.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 02:41:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=kVMdTuZa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 7B022808EDE6; Tue, 17 Oct 2023 02:41:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234953AbjJQJlA (ORCPT + 99 others); Tue, 17 Oct 2023 05:41:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234843AbjJQJks (ORCPT ); Tue, 17 Oct 2023 05:40:48 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2A6E103; Tue, 17 Oct 2023 02:40:46 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 9C82B66072E4; Tue, 17 Oct 2023 10:40:44 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1697535645; bh=kQjVqLeOdH5gvp8jQXQYvEd1JANbPVPSLolmO2+nCgo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=kVMdTuZagYBRQxpcTop35Qkgjl1sUajVunDREHQ6z4fdpTPwNJC3+uSRRQ4h/ysCt TIojBxd9RCuvI/5ImWj5y12pOQ4Yl7eJ4rrR0Tpf4w0roEAV5oD48+qJSSCXXSjUp0 0hx96f9d+6IyVSr3otvGOOecTnul2C4d93Y6K8+eQ8Pf+fzi40WTnSHr5pHDjVLl3j IYJvpXeSRw06xcBUW9TtKlycTzUQCux8euU40tKaQFXuwatZTxSwynmjLpuxl2IF23 IkamX/4NMPLdzu5UUXst29p59XJ8uvg/IdhJMOwhpEzj9vj1Q+AtwOqF16zseIMjv8 hxu+jfHuDJjYQ== Message-ID: <8312722e-92b6-4f58-b808-6f1deedf5809@collabora.com> Date: Tue, 17 Oct 2023 11:40:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 14/23] drm/mediatek: Add component ID to component match structure Content-Language: en-US To: Hsiao Chien Sung , CK Hu , Krzysztof Kozlowski , Matthias Brugger , Rob Herring Cc: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Fei Shao , Sean Paul , Johnson Wang , "Nancy . Lin" , Moudy Ho , "Jason-JH . Lin" , Nathan Lu , Yongqiang Niu , Hans Verkuil , Mauro Carvalho Chehab , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org References: <20231016104010.3270-1-shawn.sung@mediatek.com> <20231016104010.3270-15-shawn.sung@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20231016104010.3270-15-shawn.sung@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 17 Oct 2023 02:41:15 -0700 (PDT) Il 16/10/23 12:40, Hsiao Chien Sung ha scritto: > Add component ID to component match structure so we can > configure them with a for-loop. > > The main reason we do such code refactoring is that > there is a new hardware component called "Padding" since > MT8188, while MT8195 doesn't have this module, we can't > use the original logic to manage the components. > > While MT8195 does not define Padding in the device tree, > the corresponding components will be NULL and being skipped > by the functions. > > Reviewed-by: CK Hu > Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGioacchino Del Regno