From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Date: Mon, 17 Jul 2023 23:45:36 -0700 Subject: [v6 2/4] dt-bindings: hwmon: Add ASPEED TACH Control documentation In-Reply-To: <3756dffd-1407-d656-485a-9cf1eefd9ae1@linaro.org> References: <0b9dd5cf-f4ca-2e6b-624d-0b451bbc2f30@linaro.org> <0ba3767c-d481-6e2c-2d32-b79af0e1efd8@roeck-us.net> <7b198d57-ddec-3074-314a-3e5e5b8f48f9@roeck-us.net> <7a69bda1-5f4c-5b1f-8eb6-6fd58917a9b1@roeck-us.net> <3756dffd-1407-d656-485a-9cf1eefd9ae1@linaro.org> Message-ID: <28de46d5-bf6a-da0c-ad24-5404ad416b3a@roeck-us.net> List-Id: To: linux-aspeed@lists.ozlabs.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 7/17/23 23:04, Krzysztof Kozlowski wrote: [ ... ] >> The first method involves passing the memory region from an MFD >> driver, which was the > > I have no clue how can you pass memory region > (Documentation/devicetree/bindings/reserved-memory/) from MFD and why > does it make sense here. > It is quite common for mfd drivers to pass regmap information to child drivers. Child drivers typically call dev_get_regmap() with the parent device as parameter. Granted, that is typically used for spi or i2c devices, but I don't see why it would not work here as well. Then there s syscon, but I don't know if that works with overlapping memory regions. Guenter