Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5135234rwb; Sun, 13 Nov 2022 22:44:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf645i93FiHOls+QVwP2BA9DQHX4uOnbxlxsU33urGrOxElVii+C5n29iXWl2lcyzZ24D52i X-Received: by 2002:a63:5265:0:b0:46f:b030:4011 with SMTP id s37-20020a635265000000b0046fb0304011mr10902682pgl.277.1668408271210; Sun, 13 Nov 2022 22:44:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668408271; cv=none; d=google.com; s=arc-20160816; b=z3sSlzSg0vAFN/Slc2PHhnjf0yjl1BouStOopL9KKV3BeV4pRUn6+Vqy0cEA4W5qmw 81fTM70MZn/vILfom95cFQQuR5F9Tz0WH4yFvEOWg1mBCHsu05ymfc7KP3OFKZu8zS65 Nq8cRzQ8++qGp3I3GCbGZDBVTQbVV3FRfVqQYi/XW/v8iIfC9cWgCzJBxZKrin5AGIul z3ktqJqyNrvKdnbj5ztDLLc7l5y4BbXeu2UKLK83La//7E2nVI+rHToUHLvMnJJQSHX4 EkKrreIVlc7Oi0taAeCBspvXFA+UDqDtOJeIdNcZMsLWa1tbd4MjVuCi1Y4BvvdiBC8W ajZw== 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:subject :from:content-language:references:cc:to:user-agent:mime-version:date :message-id:dkim-signature; bh=b6VI+ABEZ1h4d+64TdR2Fv/MvDrZgmhBhQx9ZCHP/Hc=; b=w+iK1HBuJESPIWxFR++Z8ylbeJJMJ7VN02cxRrww+AyPbFnDVXORwYxe78DgPf8AYt 2D0Lwk5p6h+et41k/yh7UDHMbge/NhQD4/PTyDuFh39UdVociSEbqglokYkvBbWU4TSh /QlC9TEi5uZK4fne6eff7wau1hisjpVMCcIf4f31faf4vyFJh51ynfk4TSBeNgJew9YS p1nanFXb4notkynz3/DfUh0U62zM1T+b6f5+kbBAjvh06dopKbziXrvbrNYeMt47AC5g 0oKSS5yldW9SvvMo025A8//oRzVvj8dMwgYmAYlaAF/qXjyWbsv8B8KZxtWOi7nylwII G49g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nbs59sbE; 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 y31-20020a634b1f000000b004612e8df649si9088363pga.784.2022.11.13.22.44.19; Sun, 13 Nov 2022 22:44:31 -0800 (PST) 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=nbs59sbE; 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 S235773AbiKNG0Z (ORCPT + 89 others); Mon, 14 Nov 2022 01:26:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230441AbiKNG0X (ORCPT ); Mon, 14 Nov 2022 01:26:23 -0500 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89FFA14D22 for ; Sun, 13 Nov 2022 22:26:22 -0800 (PST) Received: by mail-lj1-x22a.google.com with SMTP id u11so11850339ljk.6 for ; Sun, 13 Nov 2022 22:26:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:content-language :references:cc:to:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=b6VI+ABEZ1h4d+64TdR2Fv/MvDrZgmhBhQx9ZCHP/Hc=; b=nbs59sbEk04HhfP4ISizT/HOFFK9oht4Uzb9dfKOObUps2RPcCgGuIw2xdNq4Hv8aJ J2F0mW+RLpqoiH9V4IU3EhXNHVBhUdsM+eV983pPcWPyd9rmxC2O0J5yGvMAQSHrTChe 3dRiVVHbhqeUMFBKXDD/Oo+3FR0W/1YNUbylDbbywFHfAi9FMsstTY+4N9HGa2CBj4UM 7LhiKGYDBGPBk0hRLXJR+v4v+nB4bQBki4BBSqV8DaI8Uw6jJL7JJSzzWfHBH9FhA+am 4pgAS1rDQzBfmxL9XjgaYhT0i5rl4o0wOGN2SBo7p+IyVo4T5GTXHFHrrb2w7vhJH5NQ PIpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:content-language :references:cc:to:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=b6VI+ABEZ1h4d+64TdR2Fv/MvDrZgmhBhQx9ZCHP/Hc=; b=Ia1TmWj7pvgWZrh5jNGevFXo6Oox35POxdD7THMPbsrdknoRZ+GxfZ6OwnY2YnJrzB yOHTU2dUu1xy5c+hR5mLhExssvGxZ04D1V+Cx8LJo+MhY0aGU2CXC+ZGkV7B14cXEhwz SMsA0T26toaEVjUMiqrS8DTDAdINSFoKDNiu6NZxj+Rbfl8ZK+NF5jFb15S8a+/7LiBZ KgcWJHbBx/KhbVQHo2zfrN1ZTj+7QgxxpOM8AVuZ87+LRgGW24TGI3O7D5HSAF1A6hbA N0JzI8yhmfpLGM/ELp0EhT+9iIz3GSEiFsEEyvbmcAaafkOk6KXWpOpvc8l80iD6MRfL 2G1w== X-Gm-Message-State: ANoB5pkeI0UgogCFl84zDlRj7z8WGm9H5h5gY/rRqtklrp2g/S/LQKTG GBL+g9oVjNNBCsMcDQ0lrgI= X-Received: by 2002:a2e:8751:0:b0:277:313e:454e with SMTP id q17-20020a2e8751000000b00277313e454emr3565669ljj.446.1668407180722; Sun, 13 Nov 2022 22:26:20 -0800 (PST) Received: from ?IPV6:2001:14ba:16f3:4a00::7? (dc75zzyyyyyyyyyyyyydt-3.rev.dnainternet.fi. [2001:14ba:16f3:4a00::7]) by smtp.gmail.com with ESMTPSA id c10-20020a056512324a00b0048af3c090f8sm1712909lfr.13.2022.11.13.22.26.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Nov 2022 22:26:20 -0800 (PST) Message-ID: Date: Mon, 14 Nov 2022 08:26:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 To: Aidan MacDonald , lee@kernel.org Cc: mani@kernel.org, cristian.ciocaltea@gmail.com, wens@csie.org, tharvey@gateworks.com, cw00.choi@samsung.com, krzysztof.kozlowski@linaro.org, brgl@bgdev.pl, orsonzhai@gmail.com, baolin.wang@linux.alibaba.com, zhang.lyra@gmail.com, jernej.skrabec@gmail.com, samuel@sholland.org, linux-kernel@vger.kernel.org, linux-actions@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev References: <20221112151835.39059-1-aidanmacdonald.0x0@gmail.com> <20221112151835.39059-11-aidanmacdonald.0x0@gmail.com> Content-Language: en-US From: Matti Vaittinen Subject: Re: [PATCH 10/18] mfd: rohm-bd71828: Replace irqchip mask_invert with unmask_base In-Reply-To: <20221112151835.39059-11-aidanmacdonald.0x0@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 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 11/12/22 17:18, Aidan MacDonald wrote: > Remove use of the deprecated mask_invert flag. Inverted mask > registers (where a '1' bit enables an IRQ) can be described more > directly as an unmask register. > > Signed-off-by: Aidan MacDonald Reviewed-by: Matti Vaittinen > --- > drivers/mfd/rohm-bd71828.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/drivers/mfd/rohm-bd71828.c b/drivers/mfd/rohm-bd71828.c > index 714d9fcbf07b..3c5c6c393650 100644 > --- a/drivers/mfd/rohm-bd71828.c > +++ b/drivers/mfd/rohm-bd71828.c > @@ -413,9 +413,8 @@ static struct regmap_irq_chip bd71828_irq_chip = { > .irqs = &bd71828_irqs[0], > .num_irqs = ARRAY_SIZE(bd71828_irqs), > .status_base = BD71828_REG_INT_BUCK, > - .mask_base = BD71828_REG_INT_MASK_BUCK, > + .unmask_base = BD71828_REG_INT_MASK_BUCK, > .ack_base = BD71828_REG_INT_BUCK, > - .mask_invert = true, > .init_ack_masked = true, > .num_regs = 12, > .num_main_regs = 1, > @@ -430,9 +429,8 @@ static struct regmap_irq_chip bd71815_irq_chip = { > .irqs = &bd71815_irqs[0], > .num_irqs = ARRAY_SIZE(bd71815_irqs), > .status_base = BD71815_REG_INT_STAT_01, > - .mask_base = BD71815_REG_INT_EN_01, > + .unmask_base = BD71815_REG_INT_EN_01, > .ack_base = BD71815_REG_INT_STAT_01, > - .mask_invert = true, > .init_ack_masked = true, > .num_regs = 12, > .num_main_regs = 1, -- Matti Vaittinen Linux kernel developer at ROHM Semiconductors Oulu Finland ~~ When things go utterly wrong vim users can always type :help! ~~