Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp710433imn; Tue, 26 Jul 2022 07:21:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sqQXz4qlTugavkDKiMZ7YplMLM8JdrX7AFwlsgG0Kem2uoW4lesvS4eATPDx16aEXRzc9e X-Received: by 2002:a05:6870:c186:b0:101:f97d:eff4 with SMTP id h6-20020a056870c18600b00101f97deff4mr8346921oad.289.1658845300988; Tue, 26 Jul 2022 07:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658845300; cv=none; d=google.com; s=arc-20160816; b=HRYMVpqQyjJgCkZjGKcMcrRubsq5+wmDP0zJBE0+xJtKuV3CPQ+dgiTm+Owkxfqfhn jlWEHb891yUs52nsjX41CqQY0VRPZf4P9atrOUzbTZ6j/4aQjGlyCe84ODsySCHzDRWW wkapY+wngRTQ/7ahrvdEfVedVaG4vmAHDWfq5he+aNBGriqOthLNpeFXT5pMTGlNYN7a CZW6ewxY1+oU5SNgmyBtkQyRW0G9oEIv5W4Yt8g2Hf8n6qzCrcCCrbFHb1Oo2IMqpf36 Z+HxgyIL5sHaJ5+ObEtgmG/efNxPqMaNCmxDj2T0rMq3DWKhZKhn8TAb3NSq03Hu0+12 rE6w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=IxbQxh5f/1GhJPI29PwlpxHWOgiZYgWU0KgnIx24OZc=; b=TW7pyR2GESE3FulMaTPou8Of1Z9q9lE3kWctUup78p39U7nMuMw2nqCLTZAO5esjYf TOuprLb8Zqp0INGgh/AIelTzxG429jSdm5EzX9AlF/axeSNz/38CJOKXExfuIqlJY56F h/XJYk2367INKuBH0PhnsxGSm2XMdQctWg52dQqN6e1QBo19zO/cGgGHj4J2611h2F0h QekL49P4wR6lbzTTChE0OSKroaBbMn9sdfB3S/BBYNfBSt44MVojy9gM8OooIeYL2YD5 f0Xqelyaw3q6o+mO+WMRhHCVLSlysqGNeUsiZ8rv1VeA+yKIDuB+K8Blm0S5mvGmrwA6 5P4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=cryEsxWE; 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=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h3-20020aca3a03000000b0033a5ae29f74si11942484oia.288.2022.07.26.07.21.26; Tue, 26 Jul 2022 07:21:40 -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=@collabora.com header.s=mail header.b=cryEsxWE; 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=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238101AbiGZORm (ORCPT + 99 others); Tue, 26 Jul 2022 10:17:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238296AbiGZORj (ORCPT ); Tue, 26 Jul 2022 10:17:39 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8A092250A for ; Tue, 26 Jul 2022 07:17:34 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 E84216601B1A; Tue, 26 Jul 2022 15:17:32 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1658845053; bh=0aFS34Xh0Sull4UkSdhR2eAZVT3nTjndEQc593bt6E4=; h=From:To:Cc:Subject:Date:From; b=cryEsxWEoVTVN9IOYvY7zhZrBYLIDkLH1Q3Xl4ekNdkcZp5IJGejThwJFO37JgS9H exqCoMS9rkHg0WHmt73jz3w1kqAwZaACbbYd1vewwkno6P0FvfaTQErYCEgF7tO8Ow 7F6JalwWVSs0pF5IaaJ6sEQK2195fdu5nzhMB8CvqjXPzn0MPkSXnHKwD/Ob6PE7yB bJWh6XyJk1zgFCbn5rTfLOVSbGE4yhhis3yZtjY8LKxHyVZTeYxZr73iTkQpY6U1xC tnbzOIXbRnCqluzOAFyS5YfyXQkUx+FwG6rfHnW52TTBiBs4MoYRheyGftbuPmG4WV pRbQZeNIhOM2Q== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: roger.lu@mediatek.com, khilman@baylibre.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, nfraprado@collabora.com, kernel@collabora.com, AngeloGioacchino Del Regno Subject: [PATCH 0/6] soc: mediatek: Cleanups for MediaTek SVS driver Date: Tue, 26 Jul 2022 16:16:47 +0200 Message-Id: <20220726141653.177948-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 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,SPF_HELO_NONE,SPF_PASS 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 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. AngeloGioacchino Del Regno (6): soc: mediatek: mtk-svs: Commonize t-calibration-data fuse array read soc: mediatek: mtk-svs: Switch to platform_get_irq() soc: mediatek: mtk-svs: Remove hardcoded irqflags soc: mediatek: mtk-svs: Drop of_match_ptr() for of_match_table soc: mediatek: mtk-svs: Use devm variant for dev_pm_opp_of_add_table() soc: mediatek: mtk-svs: Use bitfield access macros where possible drivers/soc/mediatek/mtk-svs.c | 325 ++++++++++++++++++--------------- 1 file changed, 176 insertions(+), 149 deletions(-) -- 2.35.1