Message ID | 20241209-camss-dphy-v1-0-5f1b6f25ed92@fairphone.com (mailing list archive) |
---|---|
Headers | show
Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B484D21B190 for <linux-arm-msm@vger.kernel.org>; Mon, 9 Dec 2024 12:01:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733745672; cv=none; b=Cj5mANYSkQzS/zvbuDjtk58yZzKqhPfcd4j+oKsKfzTrQPv/ARpEsvX0xoL8g99otYkpS67Yq5pt3DwZZxHAXTsBy3GotcD78W+obHqa47QSirWm5xGzwkln7vZuJXemylyhTjipEHbcBdOesI3mkdVr4hGM1eMsfsmzR80ATIY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733745672; c=relaxed/simple; bh=U6FIxo9NOFz5aJHwz/CGu0rXqmTcBFULicoq/xd9RaY=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=LMvLXq7aS/L/OvjICYa4s/KgPCXILTwtp+Ds8/MxMWD57DmK4nheNK7cEZO/iSpRSpt1rLJqTXu3Rbr6+eEpWdl10fLJl5TxjLxrhRByuejca1w6C59KKq9YiWPP1t5SdESxK988ftY3r2U+MjTy5j7HHWrcULfpuvZTwYw8H6o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=kR1gr7EF; arc=none smtp.client-ip=209.85.218.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="kR1gr7EF" Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-aa642e45241so544225766b.1 for <linux-arm-msm@vger.kernel.org>; Mon, 09 Dec 2024 04:01:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1733745668; x=1734350468; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=dIbPh213uMn4RKe5AQAX5FOeJn89qdDTeC1KU8kliyE=; b=kR1gr7EFLhCP2DJof4vpZ5Rgy/H5KHnEe7uuce65uxmg4RJeI2WAE+C0HOB5XWn/gP 7EHQe8nq50AP4yJXGnSmZSGZWifePJdjrzxN4Ky/KGo8jLN7fmMJeWuWRHKkZsRWaORx clq/QtxBnAGnaLYO4Jj8FRO1Ovwbjzc9UDhSeiE4c1+8sUhQZKTczksh2/qCxtly+NSp 8+6UqbRu31wDh+FBbmanO0g05i38ZCFPSSyQUjlZyd/0r7gvnErHfg5o5TQsXLyloXIh lMEQYfneEUp6FsGS8px4Y34KVs222KxFaXgnaAvwI2XgitguK3SrP6xobvxnFl7zCd4m YexQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733745668; x=1734350468; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dIbPh213uMn4RKe5AQAX5FOeJn89qdDTeC1KU8kliyE=; b=l9TjXBTVM2DITkac7q3B5vbja151OxU32Ohy3c93qD0MyKgkGt+Sb5nllti+gmgj6u LRmNzk5A1sL1pHntEw01U3g8SspcMTZveO4MMGKnpo9UB8Bn5/BqByg/+/ZBFeuGvbzb 8O1SoigfVmuL6CdqQG6Deq0n3f2aSIgn4ki54b4t3t60vvxtqdziqly+FXREsCMQhth/ YPg/ua/K6vX3T2H9gr3NTNvRc1q8tCYy0S03hSCuqx9H1H4mhGRe2txYwwet8oV6U2wU L/yG7tO7af9Hr68Oy5Gbx9qMEfY/sjeFpRz6vBN08SYDu/Z+v3uwAVqnnuzu4lDOPtR4 CX5g== X-Forwarded-Encrypted: i=1; AJvYcCUuWP5jEVLounCm+TunEMgSz/yNu0tJ4Al6CHHT5O562ArxDlDc4fwy9kWilO4I1MM1cv9VXIgc+T8ZwMYp@vger.kernel.org X-Gm-Message-State: AOJu0YyxfsZQbPNgtV2DLHhZmILG+SqTTb8d982qzGMKn41B4yf7LQ8g VUFUOcIuCEiwEmNgYA1EMApbmKCWKssyRUKT1YLSrEKs8z1VPbrLVq+3wfijWt8= X-Gm-Gg: ASbGncuVgc0GT1sfeqiiY2iF5KC/DtQC6sO5NxHrA7oIwSjfJxwOUsTy+4c2sN2lPuW RKJ2AsPBRQ1CnCheUoWdKL56cmoD/ppozLr2pA1mcna/JlNT0ZY15j/TMxWwcMSgZZVu88YKsP4 exgh1vF1fZmoPtHR6q6LtIhkYgF84CJG8SrLeS3yKGscGUyG8YYQyLAHyAHDJRIyjHFmKTc8oLn NNPmOOjZoy0Mab3EUySCc4dRV87FtMAXMvyrakHbdoIkxjVFLC9Lu+hTewcLVU0QvCb8hJTerS4 zzt9a7DhykXIjpq7+s94u3h868cZYYu30PgRawZF6GtT5hKFtHxZYXnt7wAh59V4VA== X-Google-Smtp-Source: AGHT+IHIzUpxWEtu6qwCt8niQVJmNjY0QttQwYVmWWK8DQ6e2I9mse4mlgRgChp2cySuPRm+pt0vIQ== X-Received: by 2002:a17:906:3087:b0:aa6:9198:75ab with SMTP id a640c23a62f3a-aa69cd5193cmr7199166b.26.1733745668002; Mon, 09 Dec 2024 04:01:08 -0800 (PST) Received: from [100.64.0.4] (2a02-8388-6584-6400-d322-7350-96d2-429d.cable.dynamic.v6.surfer.at. [2a02:8388:6584:6400:d322:7350:96d2:429d]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa69afa395csm22555066b.71.2024.12.09.04.01.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2024 04:01:07 -0800 (PST) From: Luca Weiss <luca.weiss@fairphone.com> Subject: [PATCH 0/2] Some small preparations around CAMSS D-PHY / C-PHY support Date: Mon, 09 Dec 2024 13:01:04 +0100 Message-Id: <20241209-camss-dphy-v1-0-5f1b6f25ed92@fairphone.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: <linux-arm-msm.vger.kernel.org> List-Subscribe: <mailto:linux-arm-msm+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-arm-msm+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAADcVmcC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxNDIwNL3eTE3OJi3ZSCjEpdi6Q0E7NUI1NDI0tDJaCGgqLUtMwKsGHRsbW 1AK9/BBVcAAAA X-Change-ID: 20241209-camss-dphy-8bf46e251291 To: Robert Foss <rfoss@kernel.org>, Todor Tomov <todor.too@gmail.com>, Bryan O'Donoghue <bryan.odonoghue@linaro.org>, Mauro Carvalho Chehab <mchehab@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Barnabas Czeman <barnabas.czeman@mainlining.org>, AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>, Caleb Connolly <caleb.connolly@linaro.org>, David Heidelberg <david@ixit.cz> Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss <luca.weiss@fairphone.com> X-Mailer: b4 0.14.2 |
Series |
Some small preparations around CAMSS D-PHY / C-PHY support
|
expand
|
Since the hardware blocks on the SoCs generally support both D-PHY and C-PHY standards for camera, but the camss driver currently is only supporting D-PHY, do some preparations in order to add C-PHY support at some point. Make the dt bindings explicit that the hardware supports both (except for MSM8916) but also add a check to the driver that errors out in case a dt tries to use C-PHY since that's not supported yet. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> --- Luca Weiss (2): media: dt-bindings: media: camss: Restrict bus-type property media: qcom: camss: Restrict endpoint bus-type to D-PHY .../bindings/media/qcom,msm8916-camss.yaml | 8 ++++++ .../bindings/media/qcom,msm8953-camss.yaml | 15 +++++++++++ .../bindings/media/qcom,msm8996-camss.yaml | 20 +++++++++++++++ .../bindings/media/qcom,sc8280xp-camss.yaml | 20 +++++++++++++++ .../bindings/media/qcom,sdm660-camss.yaml | 20 +++++++++++++++ .../bindings/media/qcom,sdm845-camss.yaml | 20 +++++++++++++++ .../bindings/media/qcom,sm8250-camss.yaml | 30 ++++++++++++++++++++++ drivers/media/platform/qcom/camss/camss.c | 9 +++++++ 8 files changed, 142 insertions(+) --- base-commit: fac04efc5c793dccbd07e2d59af9f90b7fc0dca4 change-id: 20241209-camss-dphy-8bf46e251291 Best regards,