From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6845DC433EF for ; Fri, 10 Dec 2021 11:07:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 57AE18069E; Fri, 10 Dec 2021 12:07:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="BAeBOwM/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 861CA830B2; Fri, 10 Dec 2021 12:07:26 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 580998022E for ; Fri, 10 Dec 2021 12:07:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E1310B8278C; Fri, 10 Dec 2021 11:07:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 747C9C00446; Fri, 10 Dec 2021 11:07:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639134442; bh=hn7SK/UNuwEYtXIlcC+ACbCSoJNyUKg7FOgaWsh6C84=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BAeBOwM/aoVH04kh1DBTrcGsLGnBPfM5MJ3ON1aKDbTYbUNKlKoztxpe2MPf92CMx OW245qGGVfh13mHTLl3o+I9AKruJJOVTO3WtU4E98v7AUtzfHP9aLk3PJTYR1fxVEs K0yuOlPagJEGFgZ1jGCiGHL05j5lWidQ1UyrPtnUuhAqmGBF8kcccATsao0P9KI7nJ dyEkTVLiMSeGezX8d8KVo1H8hqDbWgjsNZxSi35yXDjZVIO9++SERgRpEDxiv9U1Fv a3rM587+sP+YSKvWrqSF0kf79w6q0hNsZqrEr7PCx+UFp0Vq/J4rnGahRhg5vwD4ol 8ny7rSXR/QrBg== Received: by pali.im (Postfix) id 8B8F2761; Fri, 10 Dec 2021 12:07:19 +0100 (CET) Date: Fri, 10 Dec 2021 12:07:19 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Marek =?utf-8?B?QmVow7pu?= Cc: Stefan Roese , u-boot@lists.denx.de, Marek =?utf-8?B?QmVow7pu?= Subject: Re: [PATCH u-boot-marvell 02/10] arm: mvebu: a38x: serdes: Move non-serdes PCIe code to pci_mvebu.c Message-ID: <20211210110719.4xsotqbuedo5qvwo@pali> References: <20211123155953.4cuju6mtwgmrzumq@pali> <20211129090612.q3pdg64bhhk4gnvz@pali> <83bd5ea0-46ce-39be-d566-46c397db2037@denx.de> <20211129114701.evkol44t6l3rvdpf@pali> <20211129132748.5tt4x5rnoxusk5eu@pali> <20211129142845.c7keue6h5fvcnypj@pali> <1e69be57-ca7a-9b96-de47-7f3faf146a64@denx.de> <20211129180922.73d14064@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211129180922.73d14064@thinkpad> User-Agent: NeoMutt/20180716 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Monday 29 November 2021 18:09:22 Marek BehĂșn wrote: > On Mon, 29 Nov 2021 17:07:54 +0100 > Stefan Roese wrote: > > > > Just I'm not sure if this "enable port functionality" should be > > > implemented via Reset Controller API... > > > > How else should / could this be done then? Do you have alterative ideas? > > syscon regmap regmap does not differ from classic usage of MVEBU_REG() macro and moreover every SoC have its own way how to enable / disable PCIe port. So regmap is not usable for this functionality.