Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3963485rdh; Fri, 29 Sep 2023 07:29:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEopUbFz3PlRzFBjT5T+abzSs2FF1PRK9+X5Oe4g5TU9LE4nh3Bdq3zZhcbccOO9j4NsRWD X-Received: by 2002:a17:90b:e09:b0:279:9f8:790c with SMTP id ge9-20020a17090b0e0900b0027909f8790cmr4132847pjb.37.1695997762605; Fri, 29 Sep 2023 07:29:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695997762; cv=none; d=google.com; s=arc-20160816; b=OfD9KfyB1B/g4ZKH3FDtTwrzVuOFiIWnZHDJHOkpfe4W3v8ulxnt6pTIV2G7mmw0D9 51Nf0nz8XzVF+H0M4m42dohMVIL/+3m6iviaJ7iFNRx9XGas0THDq314g2pCFR1q9qaV xBwKuJwUWrQJ0gy9ZVtfZ16wJ8wwV1ZmiEmTceVbOx6FaxXG/B1JVPWEHvLajA6Abt44 g43RbufMqpOtDQ6eFaGU7ngOvS7KSO2WKUiaoQy+WaCXLVLnsR23ADvAAhxKvnoxI58g rDffbeAarHcSrxXo+JHfm0ZifbURjK6k3tSOcnehd6MbAwrGypIr+NeTdcQ2mHvtxPg+ helQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=mxSRrMpR7D5tyy/Ms+ucPRujMQHgxFvHFrdcLv2EFHY=; fh=QW2kgLOLqwUg8ehOKpDFmjWt9ovs2pSJXM6sgn44CFM=; b=QDE23d4EZ9kcJ1lohBaVw2JHOQaJXSzCzDIMcMlTjFIyy1dGi6uy2FORm44I7Q8k97 Ha5Xe2zyWUEuZE61mgH4UsMFcu5jrYPTqGTh/QkwVA1UVOSeoMlhj3INB/+7Z0ov3cYq zbFhady5sOq/xk2qlc89xwk7/xOXDCD3L8bQRn4lRR0mpoF/pin0Km/5AKxyRL1PE8H4 B+Xx5gL0cGmQ2LbVv4bzdBmuGTb4vbGoXeoShJGjsnMhWoJMBnOwpid4YkTKttneYJWA GLGHg+PuaEPkvORogMPrjjiCQTNlNAtayCXaKU0wHYrJfB0ewOvuDMottF39Yn2ka8HI O2Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ki792AsD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id oa8-20020a17090b1bc800b00274985b2fcdsi1840255pjb.138.2023.09.29.07.29.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 07:29:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ki792AsD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 7511B80202D3; Fri, 29 Sep 2023 07:26:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233314AbjI2O0U (ORCPT + 99 others); Fri, 29 Sep 2023 10:26:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229545AbjI2O0T (ORCPT ); Fri, 29 Sep 2023 10:26:19 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67C981A4; Fri, 29 Sep 2023 07:26:18 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A74F3C433C7; Fri, 29 Sep 2023 14:26:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695997578; bh=KsSNZ/3pcClI6JWLRtjeqqaFMfgqGK3sBrnSG42ii28=; h=From:Subject:Date:To:Cc:From; b=ki792AsDeqafsGKRHaLPX/FhgHJKJPcuCrDc0nJXv3uCVX4i6Tnfuf2plv6FPsUEC keN4/VwGFX6VXtUAs1U8ZjZBQNU4y8UwHLwJDxj6IB5lD76ej8KfWjzET+F457Mp49 5DNBuynb3fTqby1iWh8+4StW5yklJPi1zayrup6x1lkwAB2I3QP/+G1IE4uhe83yen epzR3mh7FLhNRMOF+8ukXY5R6qsrSBgL5SkRuR7L12vBQd7vkEUkIHBUS3sdtGbnBy GoP6fIofgursoTU1ggffUUJPVGK//SoBfDSKjXhru/TKruuMGUYYWPPOgOFPQubP+j NiQXg7o6JE9xA== From: Mark Brown Subject: [PATCH 0/4] clk: versaclock: regmap modernisations Date: Fri, 29 Sep 2023 16:26:04 +0200 Message-Id: <20230929-clk-maple-versaclk-v1-0-24dd5b3d8689@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAHzeFmUC/x3MQQqAIBBA0avErBNyCsKuEi3MxhoyCwUJpLtnL d/i/wyRAlOEocoQKHHk0xfIugKzab+S4KUYsMG2UaiEcbs49OVIJApRf5SorO7s3Eu0UMIrkOX 7n47T87y3UiFZZAAAAA== To: Michael Turquette , Stephen Boyd , Luca Ceresoli , Alex Helms Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown X-Mailer: b4 0.13-dev-0438c X-Developer-Signature: v=1; a=openpgp-sha256; l=1075; i=broonie@kernel.org; h=from:subject:message-id; bh=KsSNZ/3pcClI6JWLRtjeqqaFMfgqGK3sBrnSG42ii28=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBlFt6EKxU/IFy5CpEoIBiGgMRKNDgrQV2ACWdw3 dHdvgE3IhCJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZRbehAAKCRAk1otyXVSH 0KDbB/4p0wUMeG+qaPtEwghbVlW3q/oWwCeAhQUNBXYTvKfZ5LMQq1mT4gAyaPNOtDFW7KeDNu7 rE0KpM91MdGc5gIKqPqnuh0Gbff2Xpdi7MkcggxlH0O0CBQ2Uz9IM9BEi6oXPtGvPIPywK02T1U RxdmFNB5gDqkE3R89MFNNnI/XYvZ+KEfqUBKYRyMgb6tY8rjcXAijnOUrZncXa5XkN8SuDcqH6G vGb25A6/7OHxBH3KmsNG+9fqVBNH+J8uGGLj9i/8qYJ7YUYTxfkilXDgSE6Ehujx76vedvdygI5 aWtQeMpEuALJ6FmujSp4CPqETIag0g2gLMftN1rt3KogwNPH X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 pete.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 (pete.vger.email [0.0.0.0]); Fri, 29 Sep 2023 07:26:47 -0700 (PDT) The maple tree register cache is a more modern replacement for the rbtree cache which uses a more modern data structure and makes decisions likely to be better for more current hardware, update the versaclock drivers to use it. While looking at updating the cache types I noticed a minor optimisation opportunity with a redundant _is_writeable() operation in versaclock3 so I updated that too. Signed-off-by: Mark Brown --- Mark Brown (4): clk: versaclock3: Remove redundant _is_writeable() clk: versaclock3: Convert to use maple tree register cache clk: versaclock5: Convert to use maple tree register cache clk: versaclock7: Convert to use maple tree register cache drivers/clk/clk-versaclock3.c | 8 +------- drivers/clk/clk-versaclock5.c | 2 +- drivers/clk/clk-versaclock7.c | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) --- base-commit: 6465e260f48790807eef06b583b38ca9789b6072 change-id: 20230929-clk-maple-versaclk-129fa4fb712f Best regards, -- Mark Brown