mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Abdurrahman Hussain" <abdurrahman@nexthop.ai>
To: "Andi Shyti" <andi.shyti@kernel.org>, "Peter Rosin" <peda@axentia.se>
Cc: <linux-i2c@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] i2c: mux: reg: use device property accessors
Date: Mon, 11 May 2026 02:29:19 -0700	[thread overview]
Message-ID: <DIFQPMZMN7AN.YTWGF8U973JL@nexthop.ai> (raw)
In-Reply-To: <CAGYn4vyBw7GeTysF0o9Es3MEMjZ_tYtog0HRBjoSuPuPSP+UFQ@mail.gmail.com>

On Thu Feb 26, 2026 at 10:28 PM PST, Abdurrahman Hussain wrote:
> On Thu Jan 15, 2026 at 11:16 AM PST, Abdurrahman Hussain wrote:
>>
>>
>>> On Jan 15, 2026, at 3:03 AM, Peter Rosin <peda@axentia.se> wrote:
>>> 
>>> Hi!
>>> 
>>> 2026-01-15 at 01:35, Abdurrahman Hussain wrote:
>>>> [You don't often get email from abdurrahman@nexthop.ai. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>>>> 
>>>> This makes the driver work on non-OF platforms.
>>> 
>>> What measures have been taken to make sure that things continues
>>> to work on OF platforms?
>>> 
>>> Cheers,
>>> Peter
>>
>> Unfortunately, I don’t have an OF platform available where I could test this.
>> I am open to give this a try though if I could borrow a device that uses the driver.
>
> Hi Peter,
>
> I haven't heard back from you and was wondering if you had any comments
> regarding the code. This change makes the driver work on ACPI based systems.
> I have tested this change on a AMD (x86-64) based embedded system with a
> custom Xilinx based FPGA which maps a 32bit register as a mux for several
> Xilinx I2C IP blocks on the same FPGA (i2c-xiic driver). The FPGA itself is
> a PCIe device and the firmware (ACPI) description looks like this:
>
>     Scope (_SB.PCI0.GPP6)
>     {
>         Device (FPGA)
>         {
>             Name (_ADR, 0x00000000)
>
>             Device (MUX0) {
>                 Name (_HID, "PRP0001")
>                 Name (_CRS, ResourceTemplate () {
>                     Memory32Fixed (ReadWrite, 0x80900010, 0x00000004)
>                 })
>                 Name (_DSD, Package () {
>                     ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
>                     Package () {
>                         Package () { "compatible", "i2c-mux-reg" },
>                         Package () { "i2c-parent", \_SB.PCI0.GPP6.FPGA.II00 },
>                     }
>                 })
>
>                 Device (CH0) {
>                     Name (_ADR, 0)
>
>                     Device (EEP1) {
>                         Name (_HID, "PRP0001")
>                         Name (_STR, Unicode ("PSU1 EEPROM"))
>                         Name (_CRS, ResourceTemplate () {
>                             I2cSerialBusV2 (0x50,, 100000,,
>                                 "\\_SB.PCI0.GPP6.FPGA.MUX0.CH0")
>                         })
>                         Name (_DSD, Package () {
>                             ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
>                             Package () {
>                                 Package () { "compatible", "atmel,24c02" },
>                                 Package () { "pagesize", 8 },
>                                 Package () { "read-only", 1 },
>                                 Package () { "label", "psu" },
>                             }
>                         })
>                     }
>                 }
>             }
>         }
>     }
>
> As I mentioned earlier, I don't have access to an OF platform using this driver
> to test things out. If you could point me to a readily available OF device I am
> willing to test it out.
>
> Thanks,
> Abdurrahman

Hi Andy, Peter,

It looks like the patch is marked as "Changes Requested". I haven't
heard any feedback lately. Did I miss something?

Regards,
Abdurrahman


  reply	other threads:[~2026-05-11  9:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-15  0:35 Abdurrahman Hussain
2026-01-15 11:03 ` Peter Rosin
2026-01-15 19:16   ` Abdurrahman Hussain
2026-02-27  6:28     ` Abdurrahman Hussain
2026-05-11  9:29       ` Abdurrahman Hussain [this message]
2026-05-12  7:50         ` Peter Rosin
2026-05-12  9:34           ` Abdurrahman Hussain
2026-05-17  1:28           ` Abdurrahman Hussain

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=DIFQPMZMN7AN.YTWGF8U973JL@nexthop.ai \
    --to=abdurrahman@nexthop.ai \
    --cc=andi.shyti@kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peda@axentia.se \
    /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

all inboxes | Powered by JetHome®