From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: linux-renesas-soc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Jassi Brar <jassisinghbrar@gmail.com>
Subject: Re: [PATCH] mailbox: test: really ignore optional memory resources
Date: Tue, 17 Feb 2026 20:39:05 +0100 [thread overview]
Message-ID: <aZTD2VtM6CX0NcvW@ninjato> (raw)
In-Reply-To: <20260217140614.64581-2-wsa+renesas@sang-engineering.com>
[-- Attachment #1: Type: text/plain, Size: 447 bytes --]
> + res = platform_get_resource(pdev, IORESOURCE_MEM, 1);
This breaks using a single MMIO for TX and RX. I will work on a better
solution.
> + if (res) {
> + tdev->rx_mmio = devm_ioremap_resource(&pdev->dev, res);
> + if (PTR_ERR(tdev->rx_mmio) == -EBUSY) {
> + size = resource_size(res);
> + tdev->rx_mmio = devm_ioremap(&pdev->dev, res->start, size);
> + } else if (IS_ERR(tdev->rx_mmio)) {
> + tdev->rx_mmio = tdev->tx_mmio;
> + }
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2026-02-17 19:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-17 14:06 [PATCH] mailbox: test: really ignore optional memory resources Wolfram Sang
2026-02-17 19:39 ` Wolfram Sang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aZTD2VtM6CX0NcvW@ninjato \
--to=wsa+renesas@sang-engineering.com \
--cc=jassisinghbrar@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox