mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@iki.fi>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Pratap Nirujogi <pratap.nirujogi@amd.com>,
	W_Armin@gmx.de, ilpo.jarvinen@linux.intel.com,
	mario.limonciello@amd.com, platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org, benjamin.chan@amd.com,
	bin.du@amd.com, gjorgji.rosikopulos@amd.com, king.li@amd.com,
	dantony@amd.com
Subject: Re: [PATCH v12] platform/x86: Add AMD ISP platform config for OV05C10
Date: Thu, 8 May 2025 07:17:41 +0000	[thread overview]
Message-ID: <aBxalXYus1R6Xbrr@valkosipuli.retiisi.eu> (raw)
In-Reply-To: <0d801367-da24-4596-83d9-08ccd89ca670@redhat.com>

Hi Hans,

On Wed, May 07, 2025 at 11:13:18PM +0200, Hans de Goede wrote:
> Hi Sakari,
> 
> On 6-May-25 5:37 PM, Sakari Ailus wrote:
> > Hi Pratap,
> > 
> > On Mon, May 05, 2025 at 01:11:26PM -0400, Pratap Nirujogi wrote:
> >> ISP device specific configuration is not available in ACPI. Add
> >> swnode graph to configure the missing device properties for the
> >> OV05C10 camera device supported on amdisp platform.
> >>
> >> Add support to create i2c-client dynamically when amdisp i2c
> >> adapter is available.
> >>
> >> Co-developed-by: Benjamin Chan <benjamin.chan@amd.com>
> >> Signed-off-by: Benjamin Chan <benjamin.chan@amd.com>
> >> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
> >> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
> >> Reviewed-by: Armin Wolf <W_Armin@gmx.de>
> >> Signed-off-by: Pratap Nirujogi <pratap.nirujogi@amd.com>
> >> ---
> 
> <snip>
> 
> >> +/*
> >> + * Remote endpoint AMD ISP node definition. No properties defined for
> >> + * remote endpoint node for OV05C10.
> > 
> > How will this scale? Can you use other sensors with this ISP? Although if
> > you get little from firmware, there's not much you can do. That being said,
> > switching to DisCo for Imaging could be an easier step in this case.
> 
> Note I've already talked to AMD about the way the camera setup
> is currently being described in ACPI tables is suboptimal and
> how they really should use proper ACPI description using e.g.
> a _CRS with an I2cSerialBus resource for the sensor.

That's one thing, yes, but it's not enough to get rid of the board code.

> 
> Although I must admit I did not bring up the ACPI DisCo for imaging
> spec as something to also look at for future generations.

I think we should really try to get rid of the board code the raw cameras
on ACPI systems currently depend on, in future systems, instead of just
reducing it a little bit. MIPI DisCo for Imaging enables that.

I guess you're not very familiar with Intel-based ChromeOS systems in this
area? Maybe largely because they work out of the box. And there's no board
code for these systems in the kernel. These are based (albeit I'm not quite
sure about the latest ones) on older Linux-based definitions whereas newer
MIPI DisCo for Imaging spec is OS-independent.

> 
> Note that there currently is hw shipping using the somewhat
> broken ACPI sensor description this glue driver binds to,
> so we're stuck with dealing with these ACPI tables as they
> are already out there in the wild.

I agree, there's little that can be done at this point.

> 
> But yes for future hw generations it would be good to have
> a better description of the hw in ACPI.

-- 
Regards,

Sakari Ailus

  reply	other threads:[~2025-05-08  7:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-05 17:11 Pratap Nirujogi
2025-05-06 12:13 ` Ilya K
2025-05-06 12:53   ` Ilpo Järvinen
2025-05-07 20:05     ` Nirujogi, Pratap
2025-05-08  8:52       ` Ilpo Järvinen
2025-05-08 23:00         ` Nirujogi, Pratap
2025-05-06 13:00 ` Ilpo Järvinen
2025-05-07 20:06   ` Nirujogi, Pratap
2025-05-06 15:37 ` Sakari Ailus
2025-05-07 20:16   ` Nirujogi, Pratap
2025-05-08  5:44     ` Sakari Ailus
2025-05-08 23:05       ` Nirujogi, Pratap
2025-05-07 21:13   ` Hans de Goede
2025-05-08  7:17     ` Sakari Ailus [this message]
2025-05-08 23:13       ` Nirujogi, Pratap

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=aBxalXYus1R6Xbrr@valkosipuli.retiisi.eu \
    --to=sakari.ailus@iki.fi \
    --cc=W_Armin@gmx.de \
    --cc=benjamin.chan@amd.com \
    --cc=bin.du@amd.com \
    --cc=dantony@amd.com \
    --cc=gjorgji.rosikopulos@amd.com \
    --cc=hdegoede@redhat.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=king.li@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=pratap.nirujogi@amd.com \
    /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®