From patchwork Tue Sep 12 04:51:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13380668 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 13A87CA0EC3 for ; Tue, 12 Sep 2023 04:53:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PMQjmVkKyzLU2H5LvHVmcZi5aqQGFc25wzEQqoqh5iw=; b=CWR2piYmsyGUK1 adrRf6GosuM4TYScVHYd0QOewAhK+Mrnv4D5y7h2uRqtZBht2eheJDGKP1SQ/FN+kC0XG5kuUxDL6 KLLgHBr+JaJp9pHonNh3hIOu6sEA5Wxeu8HjE02gtyvpBxUzP1TKCRHddajf5p8rpzGXqAPnTd0WS n1Fs4eFgX3iAnRuxuoHXIToBct+nX27hImqaYdG1Hlw3FKyoxD3G06TuoQp+30lZSgWMKPivV8GuO f6vQrHRCCtuu4P+i9sN1Ty6E0JgfcG2GdeDWkB3GN8UZZqAC3uTigl4Ho+5caJz+5LfLMaqdIJGHA TEb2Ye4zB239k+A0j3XA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qfvOR-0027eX-1Z; Tue, 12 Sep 2023 04:52:55 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qfvOJ-0027Vr-1r for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2023 04:52:48 +0000 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-52889bc61b6so6808247a12.0 for ; Mon, 11 Sep 2023 21:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1694494365; x=1695099165; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jo/Dhp0OB8bboTWYwPIzrc1K3kv8uwjtpXTegipdPHc=; b=PB5kIgNVhTEy8CIY13SFv0KUzSAjdcBn0qZAZ9BdelKsdwGXXdBD1SfvmvDU3qy8N+ YAgKBYdyQEWjUyzLWfDt6I9eDld0DDvnpu3aEpINTPlo5VPGmpPbdQ+YH0CJ4h1P58qf 4dlLcUvi5QMeaJUMuZ7oUnN9esi8h6rzwuOJPhDrujOr/vxLGQnkurZcivg4FdG53dqG B1rpRkncKPX1sx1+VA9s3a7HFAkSno2N87wm6cAM8EbLvLILxXQu3x91El3tqxeRk+M4 rCC0swZORwXdYkmaGl7jK9mt9YesxNrTPDhR2ZS+C/zq/SjSFMy2n1GJLqZuHj30weP6 zQKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694494365; x=1695099165; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jo/Dhp0OB8bboTWYwPIzrc1K3kv8uwjtpXTegipdPHc=; b=i1sIRRWFMF6gT5KCmZ47VqjxIy7mnnVOhJ4/aTWvamFs12wzItSNRkFJddbT0wgMVe Qcnu6cvRz1aOig1eEFHPwihnjOvITDRlcv7MIWT4Otbbbug9fB5DITDLkU58XthEksdr 4nMNxPHsnWeHZ2kmChW1zqoX9upkogMU9l1qYLEq8hJHFRE3Ytb3g7nLVH6w0FsaBYml s7yD4dh14b3+DRxIZ8pKo7H9WIWyrjwlFDU17DsPbVtjEC6HcdX6bDis4+IyfIMm4UR7 ukakvKJxKio6XPjU+hNxZ+ho5CCQY+orewJPNYlSaUtdI+IjGLm1fK/UzD8LJ518EDxS sJTA== X-Gm-Message-State: AOJu0Yz1iFpxO9AIeehWUXS6KtpsgLNDZ+KNTZjmOh6YR0VNbdvAAVMV fuGZykB7CeQRF2ldNhElnt19ng== X-Google-Smtp-Source: AGHT+IHQ/lVkuQFDtf8qYMcsBRGgpvmpbqpXE6jLiYty7Ri7fdqkUCoAD7dGqyQevjHt4iQoJ0Z6EA== X-Received: by 2002:a05:6402:333:b0:522:3d36:ff27 with SMTP id q19-20020a056402033300b005223d36ff27mr9729078edw.31.1694494365456; Mon, 11 Sep 2023 21:52:45 -0700 (PDT) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.145]) by smtp.gmail.com with ESMTPSA id f21-20020a05640214d500b0051e22660835sm5422415edx.46.2023.09.11.21.52.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 21:52:45 -0700 (PDT) From: Claudiu X-Google-Original-From: Claudiu To: geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, ulf.hansson@linaro.org, linus.walleij@linaro.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, magnus.damm@gmail.com, catalin.marinas@arm.com, will@kernel.org, prabhakar.mahadev-lad.rj@bp.renesas.com, biju.das.jz@bp.renesas.com, quic_bjorande@quicinc.com, arnd@arndb.de, konrad.dybcio@linaro.org, neil.armstrong@linaro.org, nfraprado@collabora.com, rafal@milecki.pl, wsa+renesas@sang-engineering.com Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Claudiu Beznea Subject: [PATCH 14/37] clk: renesas: rzg2l: use u32 for flag and mux_flags Date: Tue, 12 Sep 2023 07:51:34 +0300 Message-Id: <20230912045157.177966-15-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230912045157.177966-1-claudiu.beznea.uj@bp.renesas.com> References: <20230912045157.177966-1-claudiu.beznea.uj@bp.renesas.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230911_215247_615822_6342EE95 X-CRM114-Status: GOOD ( 11.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Claudiu Beznea flag and mux_flags are intended to keep bit masks. Use u32 type for it. Signed-off-by: Claudiu Beznea Reviewed-by: Geert Uytterhoeven --- drivers/clk/renesas/rzg2l-cpg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/renesas/rzg2l-cpg.h b/drivers/clk/renesas/rzg2l-cpg.h index 6cee9e56acc7..0b28870a6f9d 100644 --- a/drivers/clk/renesas/rzg2l-cpg.h +++ b/drivers/clk/renesas/rzg2l-cpg.h @@ -92,8 +92,8 @@ struct cpg_core_clk { unsigned int conf; const struct clk_div_table *dtable; const char * const *parent_names; - int flag; - int mux_flags; + u32 flag; + u32 mux_flags; int num_parents; };