Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp541786rwe; Fri, 26 Aug 2022 09:30:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR6SmRWBoR90KahmSudXeoDIhy7tws2uAjalEBjN2wmTP1LFVous+lQu0QDGjRKxc/T0FUnI X-Received: by 2002:a17:906:cc5d:b0:73d:c534:1aaa with SMTP id mm29-20020a170906cc5d00b0073dc5341aaamr5883985ejb.626.1661531436368; Fri, 26 Aug 2022 09:30:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661531436; cv=none; d=google.com; s=arc-20160816; b=Qz+SwuqjdfmMH0XwTgvDnNxvSD76pVrVN3i9Z/v/8pAC3LfpZqDgOwf9va8yig9PSq T7ICD5RKRa7xzdfGMgshW/4NyoSxebbwN9Q1BwApyDe9aFQtz6blGRNs5CwH0F/JSVgl TZ16yKfSL5+HuaeM1PIUOtaCiqqCk9mRd3lJNGdj9D0sGddbjYMfNWVpqd2SQyTUKGRQ 51pZ/KIirMblRm7pB6GeUVXRHIkMk6QUNYhymVcE+VmInEL3jnoh3dCqOrkRXH4FD8E0 vR6Jldx+WTfYgK4D+W5t31czeoooxgBHI8eK0z/MQSzRQi0ZWMerYvtMr8i949sSESJ0 DfGA== 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=IRiL8nVKf9q/KYGvbAx61vmtk80TSfbBKt0e+CxOfpE=; b=Z1MwE1ftb7Sc/28XwsFtLEHlOmDsctgOipVBkg9u2mdH7qDmpcpZDGAml7eO64nwSE a/kInU9uiR4OxnrsvjMmpPOR+Sxgk3UXZxLjlfAvbDURwlR01i7LvSZIBNbXT8S/iD4F U8WGVxjFwWcNciT0mZjfG/VIl5D038E9OdbE/604lPtRJvrDCCSrUjjq3gpTXGhgPeSa rjMuCtWaYUiqhPGnXDXLJwOxbf4A25mZdTMmkhHx3yajaZleytHRXP8BpX3l2dlZHdBd tXQYro4JvxFGVprLuP+OEF5uyJTPd0nYk0cwpAbVZKC1Q26yhih26A6V7ZxJRHR1WmFA jslg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="pcfdx/FN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g8-20020a17090670c800b0073dbc331a40si1200508ejk.188.2022.08.26.09.30.10; Fri, 26 Aug 2022 09:30:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="pcfdx/FN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344584AbiHZP3o (ORCPT + 99 others); Fri, 26 Aug 2022 11:29:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344582AbiHZP30 (ORCPT ); Fri, 26 Aug 2022 11:29:26 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E6BE13E22 for ; Fri, 26 Aug 2022 08:28:02 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id az27so2210409wrb.6 for ; Fri, 26 Aug 2022 08:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=IRiL8nVKf9q/KYGvbAx61vmtk80TSfbBKt0e+CxOfpE=; b=pcfdx/FNHPtFGtypx8TKgBd0IvUGbICnTfjQEAxa3PIEiy0yhB4BoUgkvDHXMlfiLn FdB8eRT3udDg3xTAsbRyICL+h/9LDEE2K8Z7T5fVxmzkbsOJRtz5uI0Egn365RrGqusC lz3JlQpzVRMNsJbjTMJsyPavEIKJPayMwUt697cbblQP+xMunN+vIIXFqHXVogIyJSqy gqatMMxX7oeZJ9Y+a6smXM55J1kjggVgFp+iJaHgVZgtFqgdz+B8PLhct2dSMuNb3kAs 1tr1wVaZ20NWr2vbaUsRZUTwdTtFARZnWdyMiFcyjWSfYVh+QBbHOKdQpWBjQRtRn47R OUug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=IRiL8nVKf9q/KYGvbAx61vmtk80TSfbBKt0e+CxOfpE=; b=QmYOSJn0FVFLkknoUrmwJc86K+ihUIFlpFQSLPrhbKf1tY2729uKVrEX1wiTM3O5ch Sjc+eDZI/7iEUilIsTGOCKf9x/yXKokDqVGIqFBqHdkjuzUZNuJ4CNe+IrSZ3yAe1A3a BbXpZWwTiQSG7uOkH642SCJRp/vPDNUa3/6aQDvLQFqxPkKkMvRoN6tZRFuDKaBKSOET TEXjx5hSSidePUIiNFprr5UA7AhtNM+iUTYk9JiX6qQU2oItsHQrt+qb40dcnNeoEA2P myA7Kzl1TCNZYoh6mfJtJQ59a9eLmXOSRAUZSU5OG5U7djFKs8VeJPhG96efE8lwIJ/n yKtw== X-Gm-Message-State: ACgBeo1JhEk73sEFxTL3R1ZcLzuYjsUid0VUmduVX0ESaNo8gA6lC1Ov dR/SPWXqkTk+pXMZws0+I90= X-Received: by 2002:a05:6000:1d82:b0:220:5f9b:9a77 with SMTP id bk2-20020a0560001d8200b002205f9b9a77mr106442wrb.622.1661527681017; Fri, 26 Aug 2022 08:28:01 -0700 (PDT) Received: from [192.168.1.130] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id c4-20020adfef44000000b00220592005edsm25693wrp.85.2022.08.26.08.27.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Aug 2022 08:27:59 -0700 (PDT) Message-ID: <4f1d3e02-0b40-cd29-5339-df1715bed84f@gmail.com> Date: Fri, 26 Aug 2022 17:27:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [PATCH v2 0/2] soc: mediatek: Cleanups for MediaTek SVS driver Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Cc: khilman@baylibre.com, AngeloGioacchino Del Regno , roger.lu@mediatek.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org References: <20220825184616.2118870-1-nfraprado@collabora.com> From: Matthias Brugger In-Reply-To: <20220825184616.2118870-1-nfraprado@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/08/2022 20:46, NĂ­colas F. R. A. Prado wrote: > > This is a cleanup-only series for the mtk-svs driver, enhancing the > usage of standard Linux macros for bitfields for better readability > and register set/get safety, switches to devm_ functions variants > where possible and other general cleanups, getting this driver in a > better overall shape. Both patches pushed, thanks! > > v1: https://lore.kernel.org/all/20220726141653.177948-1-angelogioacchino.delregno@collabora.com > > Changes in v2: > - Rebased to not rely on mt8195 and mt8186 support, as they haven't been > merged yet > > AngeloGioacchino Del Regno (2): > soc: mediatek: mtk-svs: Commonize t-calibration-data fuse array read > soc: mediatek: mtk-svs: Use bitfield access macros where possible > > drivers/soc/mediatek/mtk-svs.c | 260 ++++++++++++++++++++------------- > 1 file changed, 160 insertions(+), 100 deletions(-) >