From patchwork Sun Jan 19 00:54:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 13944269 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 77BBFD529 for ; Sun, 19 Jan 2025 00:54:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737248102; cv=none; b=tr6XYUeFYCFX/ivHD+RRJe17fp7pdvBiNWsRU9gJmwpogK0DjXytajk4CYqBRejYaf6HMSlHFqqhlaJr9ozdWWe2EFUM/ojc8EdMeM8O8UWpjr+1F4ZJIliU10hl1nkESqmBFU3fLqg1OTbnCSEWodthc4NUfE9pZUXF9pJG9I8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737248102; c=relaxed/simple; bh=VFtYwX07oZvHGxiVg/5uqQZa1Rz1XByvclsQUprLecg=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=umC3nvP5koXJkCuHeiF57u6yNkhc/UPb+kydgi5/a+aKlA2LmRwGhICiYmqKswb9tcUgntilwFl5vSqUK3R0UhjAqtbW3WutTC9m0gNbFFryyWw8mhL7YAPX5Y4Z0MTxXtteKXpYu8JTCAQIXZbd0LfwLUQXZjI36J1j9Z8RvPk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ZXnssyyG; arc=none smtp.client-ip=209.85.221.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZXnssyyG" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-38634c35129so2698666f8f.3 for ; Sat, 18 Jan 2025 16:54:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737248098; x=1737852898; 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=sPVy2TZ7nxNOnPzYmR2/3BBjXksk2FPEQABRuEps/hI=; b=ZXnssyyG9sM7nECFu5g+PTqS54/M93wzP/RPV96DF6Gh+KinkDtFeeu9YGnbJ0O2Pu +xxTxeB3LPYfIZycV9Sjf5Ih/ZvfayqkuO1LdCIJJnlR/h8FsG6st2so28xCkQiLzrOV ikqFe1kDd0lq3UrjMbfdood7PCHtHG+ncLuRJwq4hnIDHWSNRZ8BwLTTrKL0itYfELHH ImKkAKqp7IlzBh4QwRhFzE0yIRSmeBXGsYP7Rn4HxhzVMzWGn28l2Tyf6kueZ5gpruo5 rY4E2NM1C2zK3QjzSpjAcl8IJcXYfLFrafOBaxalYb04rgWsUpAcaYDDOJTIUBOuqq5h qw8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737248098; x=1737852898; 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=sPVy2TZ7nxNOnPzYmR2/3BBjXksk2FPEQABRuEps/hI=; b=WY4NpOnf1aKo5EZtTAnrdSOyIMNn28am4Pr+wt/KuWK1WCo7F2XJkW1WUfa1UytfEN 61xCYiI1zFzPFJAPeeCgzTUvM9hbXU8FEkrAs39/dMpg8FySYB/PX5OVTJyDyeKWSYvu lz/XeoylDxgXvkD3gfjLRxWPKMpPuOnW3nnXF0FdkOxlNNRUCccXgNJiunf6RwdUg3Y8 mEtjYdvHgNmdnLm9aw8eHKj6t94S9fHw7RkD5wldjohIk5I6V9TnbYMysxQuoFEjqZ0d HrUZGBCO7SKq3w0RaWbFSa1vVluDm3i/GXo7ayt+oWxACZ84LpNSSB3k/iiE++KB4A7U G1Hw== X-Forwarded-Encrypted: i=1; AJvYcCXxQbu7Aq8eyUlT9uWtudAQryufyovC+DS+4f4lK54Ipo4Ys/h7DLGqXEbthulskUgtQiKpJRCDYkRmgA==@vger.kernel.org X-Gm-Message-State: AOJu0Yz2A+Jx1420+/mMT2Ph0HoJ/CKqsz720oIvQf4iGI2X6iKLw4Dj zxPvNwehVtCZo7CCJusYS/PS1/V1a6nRJ7RytGXdYRB2CEYauLZvCncxStKrpBo= X-Gm-Gg: ASbGncsk3FxGbK2dKOa3RkgMvG1oaJ8rjEJ5cAskTfBrKJs4/7kdLhiz1zt+6hO0CBH t+OXrKM8UjHwhiadDYYkFlgdHXRTBJPO15kiqGH1wCnF0MJsPauBFtWLsXZzVIjMizjbwmgShHL EAXPi3kqpJUGKBf/WlVXXP0ZrCxWctlF85EY3V5VIYoMXLjMqxJp8Yhug+oeWLcY7uJpVKsESP4 lsaxj6ESnkX5djaQjfrHd3XbrTrqgxHpRWjdqc/j6kqsA2L65XkxtjT3zNvdiVF0cDSB6OUgYVP YOA= X-Google-Smtp-Source: AGHT+IGtOaL5Zt6V5dTGsVlWfUStNwZWdqma2iCttMpY56KqQ7XHBLD+8DWgwoEHOAJDPekrodr5Eg== X-Received: by 2002:adf:fec5:0:b0:38a:88d0:18d6 with SMTP id ffacd0b85a97d-38bf58e8fa8mr4691530f8f.42.1737248097750; Sat, 18 Jan 2025 16:54:57 -0800 (PST) Received: from [127.0.1.1] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38bf322aa40sm6339241f8f.45.2025.01.18.16.54.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jan 2025 16:54:56 -0800 (PST) From: Bryan O'Donoghue Subject: [PATCH v4 0/4] Add dt-bindings and dtsi changes for CAMSS on x1e80100 silicon Date: Sun, 19 Jan 2025 00:54:52 +0000 Message-Id: <20250119-b4-linux-next-24-11-18-dtsi-x1e80100-camss-v4-0-c2964504131c@linaro.org> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAFxNjGcC/53NwUrEMBDG8VdZcnZkZppJqiffQzykmXQ3oK0kt VSWvrvZBRHxtB6/gfn9z6amklM1j4ezKWnNNc9TG/buYOIpTMcEWds2jGyJ6AEGC695+thgSts CbIEIqAddaoaNUo+ECDG81Qo9B9f5zil6Ng18L2nM2zX2/NL2KddlLp/X9kqX678yKwGCWPSiX kYn9ql9hjLfz+VoLp2Vf2xmf5PNzUY3qkrwKsPwx+6+bWlvfJPdNTsOzqmIMsb4y973/QuC+Ft InQEAAA== X-Change-ID: 20241119-b4-linux-next-24-11-18-dtsi-x1e80100-camss-82a63736d072 To: Loic Poulain , Robert Foss , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Todor Tomov , Mauro Carvalho Chehab , Bjorn Andersson , Michael Turquette , Stephen Boyd , Vladimir Zapolskiy , Jagadeesh Kona , Konrad Dybcio Cc: linux-i2c@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-clk@vger.kernel.org, Bryan O'Donoghue , Krzysztof Kozlowski , Konrad Dybcio X-Mailer: b4 0.15-dev-33ea6 v4: - Applies RB from Konrad - Adds the second CCI I2C bus to CCI commit log description. I previously considered leaving out the always on pins but, decided to include them in the end and forgot to align the commit log. - Alphabetises the camcc.h included in the dtsi. - Vlad - Link to v3: https://lore.kernel.org/r/20250102-b4-linux-next-24-11-18-dtsi-x1e80100-camss-v3-0-cb66d55d20cc@linaro.org v3: - Fixes ordering of headers in dtsi - Vlad - Changes camcc to always on - Vlad - Applies RB as indicated - Krzysztof, Konrad - Link to v2: https://lore.kernel.org/r/20241227-b4-linux-next-24-11-18-dtsi-x1e80100-camss-v2-0-06fdd5a7d5bb@linaro.org v2: I've gone through each comment and implemented each suggestion since IMO they were all good/correct comments. Detail: - Moves x1e80100 camcc to its own yaml - Krzysztof - csid_wrapper comes first because it is the most relevant register set - configuring all CSID blocks subordinate to it - bod, Krzysztof - Fixes missing commit log - Krz - Updates to latest format established @ sc7280 - bod - Includes CSID lite which I forgot to add @ v1 - Konrad, bod - Replaces static ICC parameters with defines - Konrad - Drops newlines between x and x-name - Konrad - Drops redundant iommu extents - Konrad - Leaves CAMERA_AHB_CLK as-is - Kronrad, Dmitry Link: https://lore.kernel.org/r/3f1a960f-062e-4c29-ae7d-126192f35a8b@oss.qualcomm.com - Interrupt EDGE_RISING - Vladimir - Implements suggested regulator names pending refactor to PHY API - Vladimir - Drop slow_ahb_src clock - Vladimir Link to v1: https://lore.kernel.org/r/20241119-b4-linux-next-24-11-18-dtsi-x1e80100-camss-v1-0-54075d75f654@linaro.org Working tree: https://git.codelinaro.org/bryan.odonoghue/kernel/-/tree/arm-laptop/wip/x1e80100-6.13-rc3 v1: This series adds dt-bindings and dtsi for CAMSS on x1e80100. The primary difference between x1e80100 and other platforms is a new VFE and CSID pair at version 680. Some minor driver churn will be required to support outside of the new VFE and CSID blocks but nothing too major. The CAMCC in this silicon requires two, not one power-domain requiring either this fix I've proposed here or something similar: https://lore.kernel.org/linux-arm-msm/bad60452-41b3-42fb-acba-5b7226226d2d@linaro.org/T/#t That doesn't gate adoption of the binding description though. A working tree in progress can be found here: https://git.codelinaro.org/bryan.odonoghue/kernel/-/tree/x1e80100-6.12-rc7+camss?ref_type=heads Signed-off-by: Bryan O'Donoghue --- Bryan O'Donoghue (4): dt-bindings: media: Add qcom,x1e80100-camss arm64: dts: qcom: x1e80100: Add CAMCC block definition arm64: dts: qcom: x1e80100: Add CCI definitions arm64: dts: qcom: x1e80100: Add CAMSS block definition .../bindings/media/qcom,x1e80100-camss.yaml | 367 +++++++++++++++++++++ arch/arm64/boot/dts/qcom/x1e80100.dtsi | 351 ++++++++++++++++++++ 2 files changed, 718 insertions(+) --- base-commit: 0907e7fb35756464aa34c35d6abb02998418164b change-id: 20241119-b4-linux-next-24-11-18-dtsi-x1e80100-camss-82a63736d072 Best regards,