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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 300ADC43334 for ; Fri, 8 Jul 2022 15:32:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238622AbiGHPcy (ORCPT ); Fri, 8 Jul 2022 11:32:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238592AbiGHPcx (ORCPT ); Fri, 8 Jul 2022 11:32:53 -0400 Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6678D2B185 for ; Fri, 8 Jul 2022 08:32:52 -0700 (PDT) Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id A228D843A9; Fri, 8 Jul 2022 17:32:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1657294369; bh=HiTzpZw6pMoVB73j98ThcLUwwhjN1I83nSgju8kh5K0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Rzgayjiyi4Y9CykaUIV3gcX5r4a4Fs9t2FWHIZjHWSgNNgfszKtaaB0hyyy0gi5Om PTJ1VrlfFNMws+wDTfcTx1peHpanrQhfd45AOeXs2d3GSn5etdDCmIxcB+ii9sLbZs VTckE/BX64hcY6xNRR2iOISvVZjNxDBJqxUK3ZH0jKg4nz/oBoAYjMwiBOXi4Zxv7y eyvK6Bg02fHynwesA2Ci1KiQinCpzXaAofmXsnD4WPCkBwHUuGFapaxB8wLVIKawX8 x48v2aff/IfUDVfIQR39Eb69WXEg0AzoMqaB8ilOaWaJjSYsCvj9JEgLY+J6IvapRG VvKx7nmxX3ijw== Message-ID: Date: Fri, 8 Jul 2022 17:32:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH] dt-bindings: soc: imx8mp-media-blk-ctrl: Add LDB into DT example Content-Language: en-US To: Krzysztof Kozlowski , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, Laurent Pinchart , Lucas Stach , NXP Linux Team , Paul Elder , Peng Fan , devicetree@vger.kernel.org References: <20220630173922.92296-1-marex@denx.de> <27495fa3-b4ae-7502-45f8-5eb4c5e36640@linaro.org> <247d48ae-d22f-4adc-07c0-74dbccfc9390@denx.de> <20220701000959.GA3588170-robh@kernel.org> From: Marek Vasut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 7/4/22 10:00, Krzysztof Kozlowski wrote: > On 01/07/2022 10:06, Marek Vasut wrote: >> In the local patch I have to imx8mp.dtsi , the simple-mfd had to be >> added for the ldb bridge child node to bind. >> >>> 'simple-mfd' is saying the child has 0 dependence on the parent. IMO, >>> 'syscon' contradicts that, but that's an all to common pattern. You are >>> saying all the clocks (or any other resources) in the parent can be off >>> and the LDB bridge is still functional. >> >> The bridge itself should work even if the block control is clocked off. >> The block controller apb (register) clock have to be enabled only when >> accessing these two LDB registers, which should be handled by runtime >> PM. Or what am I missing here ? > > If I understand correctly, you need the device's APB clocks to be > enabled to use the child device? You have a dependency between child and > parent, so it is not a simple-mfd. OK, then ... what is it ? Some sort of hint would be helpful.