Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7054263rwp; Tue, 18 Jul 2023 09:20:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlGiBAYVckJ+cSCsu2zsk+XCqH20EmYt9SecxMIvmyx9OUkrUaYinY5tC4jUJ8jzT2b7//jl X-Received: by 2002:a17:902:b714:b0:1b6:b445:36d4 with SMTP id d20-20020a170902b71400b001b6b44536d4mr229968pls.43.1689697246669; Tue, 18 Jul 2023 09:20:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689697246; cv=none; d=google.com; s=arc-20160816; b=EE1YbHWiVhzO9hMjJWlbAlV71I1R1GWDTJ3aI/vnh5aRclzCX8fY9ZYyzG/2mScyFA JQ3srtKxVQqT4s5CVIKXAT5hH1GEqt2f+Nt+MW6+VPOTzMVzgVgY1sou/ND10RlBYMN2 CNUS947XwRwpfnC9IQMUo1sTkUE652PRVNzQHfgL5Zre8Z9y792YJlP/Sala0rLT+WpR golYKg7QVWnqhudShj2PYKO2auo60lYE+uzEm4z8BkFwr73t/gKJhGmjziA0qVx5+Hk8 sxt9iH8CafQ+KggyRrwo0ld6qKfxgy+jmOFl9tMaxeTcz6O11+ipzwQKeD60xQyQ3TX/ osfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=P+aHeAlQ66htBNqeC7SRJNVs+vp73QFcKxqet+4DcvY=; fh=O5hJsY6sGPgFB/x1qH7aFWKEuojRep+/sLpLPmhRo6k=; b=HiMgIYz49aTY/y4rpYl85srohHXLd/6Vee+HyJ0Ww9Gu6ntm39zxrAYAUaIaVlrfxP AouzvsCy0LZ8qR/zj5GlcAKxjjYAGA38LP+IyZRyZ8VrL3jCUcNOtB8S1JDGrALRoaf2 wcd8HXJDtfWL7T5sTCzVGWivxBsOIIC6SevoIpQ36sYcD7jdWWJa/w6xJKRnxtKK5S+p hzLXzTkF61hgGTSvA6zp8f5GzaVrp3Q3zsZS3ho8d2L+eOeNZgwxXMf4Lh7pE3GkLpWS FSq78g3V6ahkpafxS/t4DBWnD0CvZyILOzIj7xCxvN2sBcL/741w/V2ttpoNNzGPcWgi Aumg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=agarwveP; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ko4-20020a17090307c400b001b9fb1e25ebsi1742202plb.360.2023.07.18.09.20.34; Tue, 18 Jul 2023 09:20:46 -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=@kernel.org header.s=k20201202 header.b=agarwveP; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232671AbjGRP3o (ORCPT + 99 others); Tue, 18 Jul 2023 11:29:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233640AbjGRP3j (ORCPT ); Tue, 18 Jul 2023 11:29:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 286081B1; Tue, 18 Jul 2023 08:29:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8BCB061627; Tue, 18 Jul 2023 15:29:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13629C433C8; Tue, 18 Jul 2023 15:29:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689694175; bh=gfIcQMcEA2JMSiCekxbZMv18Ww2UR5Kx8avTWh0Rq2g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=agarwvePgX89eG1fPnzVQKKXMgOrXQlVihkvwG9RtJw22fk29qZbvyn/X6KsDIW6J Gq/iCReTYU4Lu/zDSjRndrabBq37UdFqUnEK8rtqQTknlGVMjplCwNJZKrcmLoioXA ERWprgYUbLRwDhEvdrmxxIY4JBbS7bmo97iSbn+nebTW60+n3DDwYOXEHoGAadJmBt +sc0oBhKkYB5thOHNxYVOuYM1JwxrWBlTFgQ5F/quhSEGsvDZ7WMZlGrkdU2R1SD/Y FCzpvPWoq3T6Uq5f6nia2ihWrfhilLqxWilDIWyktSMKK5Zgfr6U6iiYos2CV7Cgh0 zRVooIRDw1wOg== Date: Tue, 18 Jul 2023 08:32:59 -0700 From: Bjorn Andersson To: Ninad Naik Cc: agross@kernel.org, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, quic_ppareek@quicinc.com, psodagud@quicinc.com, quic_kprasan@quicinc.com, quic_ymg@quicinc.com, Andrew Halaney , Bjorn Andersson Subject: Re: [PATCH v2] pinctrl: qcom: Add intr_target_width field to support increased number of interrupt targets Message-ID: References: <20230718064246.12429-1-quic_ninanaik@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230718064246.12429-1-quic_ninanaik@quicinc.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Tue, Jul 18, 2023 at 12:12:46PM +0530, Ninad Naik wrote: > SA8775 and newer target have added support for an increased number of > interrupt targets. To implement this change, the intr_target field, which > is used to configure the interrupt target in the interrupt configuration > register is increased from 3 bits to 4 bits. > > In accordance to these updates, a new intr_target_width member is > introduced in msm_pingroup structure. This member stores the value of > width of intr_target field in the interrupt configuration register. This > value is used to dynamically calculate and generate mask for setting the > intr_target field. By default, this mask is set to 3 bit wide, to ensure > backward compatibility with the older targets. > > Changes in v2 : > ----------------- > - Changed initial definition of intr_target_mask variable to use GENMASK(). > - Update commit subject appropiately. > - Add Fixes tag. > - v1 : https://lore.kernel.org/all/20230714061010.15817-1-quic_ninanaik@quicinc.com/ Thanks for adding a good changelog, very much appreciated. The changelog should be added below the '---' line though, as it typically don't add value to the git history (except drivers/gpu/* which wants it here...). Perhaps Linus can drop it as he applies the patch, no need to resubmit unless he ask you to. Thanks, Bjorn