Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27484945rwd; Tue, 4 Jul 2023 03:45:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlF3AaywU1KDodZYX31TfNcgvoSU/LcLbUCTx3im5rKOOD48p4C70qXSWjz2T0I3M+GxbXSz X-Received: by 2002:a17:902:e5d2:b0:1b8:417d:d042 with SMTP id u18-20020a170902e5d200b001b8417dd042mr19465229plf.20.1688467549449; Tue, 04 Jul 2023 03:45:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688467549; cv=none; d=google.com; s=arc-20160816; b=GFZo6aBRy+ZKTaAoK2f0pD72OJ3ADTlTE1fAoa25DLIF8lvfyVnJpleC8rydjKO4JP sb1AgLLzjYcjwGWESzFZYCTRuMc2MqW1M++3tWUUEGXKM8nUGUxCM0qSLNt58DVR9R03 +Ud6n7J/UI3xAAdH9ikJVNIWwx6mkA/odDbMrhlUmfNyWXVLDPN5/y5Z3iul4JffIueX x8BzA8d+PA0kjr860bA0UaD2e3rOjzmhpdQcScPoYjKbadvqJ0mw00ikw0IB0smwPs0e 855D1p0Z/0vUx7HAgMORcBV2FnPB1zKiKQ+gPTOAeLq9bW6Zm0Fb7xd1f5+cm4oiSk5p mOhA== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=N5ScATbDm/hn/+Z0tXfuLQIjop218U/sV6dmT8ee0rs=; fh=3Cfaywq+LJz+D7ZrR+QRqdwrNm9IOqWGdki3LZXYvBc=; b=GEHvMZozFHgIM0lxuVsTzrqnGWsIWxfwfxpogEy/hBW0btorvIO7N4qwFITo4ViIdm 9LEu2bS4cHWn5LX39vUXqH2VZ7Nfw3dEhN5zwqHE0R35a4WUjMQysvShsCt1ZQ9nDGVa ThgZZHxToMCaWLbbsTy6+4bzOb+G+1piiWL/wdSIt/JLi6z0CSJrlE0iXrZi3uiTC8hb PKkXN1lN6XZ73pe3So+mDaxDVoJCv2GAmlMJ1q1aU81Zm6tt/5mOGiwOpfS2cef8b5Oa DaNSfDxfduGqzOzVtYk5ddSM5GFC26R7+EI4q5OylmWAsF0cs+gqMgw2ZiVJxZxC9RfZ 500A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=iV8K8cjG; 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=QUARANTINE sp=QUARANTINE 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 q8-20020a170902bd8800b001b02bd00c67si18849076pls.324.2023.07.04.03.45.34; Tue, 04 Jul 2023 03:45:49 -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=iV8K8cjG; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231748AbjGDK1d (ORCPT + 99 others); Tue, 4 Jul 2023 06:27:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231773AbjGDK1X (ORCPT ); Tue, 4 Jul 2023 06:27:23 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4421FE47; Tue, 4 Jul 2023 03:27:12 -0700 (PDT) Received: from [IPV6:2001:b07:2ed:14ed:c5f8:7372:f042:90a2] (unknown [IPv6:2001:b07:2ed:14ed:c5f8:7372:f042:90a2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 433636606FA4; Tue, 4 Jul 2023 11:27:10 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1688466431; bh=xo231CNcuC2FkqsWHh5xD0ZSPl+ptrgtwj19pWAl14k=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=iV8K8cjG+hZqKPxJguIYnxx6N9xe35IrMtEK/fGD9AiZWnEaWeeB+fS9VusNO/TwI eeXnGulI6rbQKBJ2UIv3zhgMrrIHNP7OCFNQ/FeIOgWOStqWke1fBAoWOKjcn3oaGY ll4FnTPyczknABlgg/HamhAUqd5bJwyt4MlSzigY7wfG+g/v2uhOz72UwYUD0Z15g/ r3NeQ37idJ8StDKXxciT/7LhPQlLfo5qtgyxOr1DStTszYEvTSFWcqqxo8nOQAq7Fz bpa2G8Bn+1QWGjq/wyiyOa0NKoGa6cqHlQGDIaNdFuizm8W6D8rZ4iPx8eP6qP2LVm hkwWXlcFOSbnw== Message-ID: <8f1136b6-7c93-73eb-545d-bbdb0ff6f0b1@collabora.com> Date: Tue, 4 Jul 2023 12:27:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v6 6/8] soc: mediatek: Add support for WAY_EN operations Content-Language: en-US To: Markus Schneider-Pargmann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger Cc: Chun-Jie Chen , Tinghan Shen , Fabien Parent , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Bailon , Fabien Parent References: <20230627131040.3418538-1-msp@baylibre.com> <20230627131040.3418538-7-msp@baylibre.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230627131040.3418538-7-msp@baylibre.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Il 27/06/23 15:10, Markus Schneider-Pargmann ha scritto: > From: Alexandre Bailon > > This updates the power domain to support WAY_EN operations. WAY_EN > operations on mt8365 are using a different component to check for the > acknowledgment, namely the infracfg-nao component. Also to enable a way > it the bit needs to be cleared while disabling a way needs a bit to be > set. To support these two operations two flags are added, > BUS_PROT_INVERTED and BUS_PROT_STA_COMPONENT_INFRA_NAO. Additionally > another regmap is created if the INFRA_NAO capability is set. > > This operation is required by the mt8365 for the MM power domain. > > Signed-off-by: Alexandre Bailon > Signed-off-by: Fabien Parent > Signed-off-by: Markus Schneider-Pargmann Reviewed-by: AngeloGioacchino Del Regno