From patchwork Thu Sep 26 21:19:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 13813674 Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 AD7E6185E4E for ; Thu, 26 Sep 2024 21:20:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727385607; cv=none; b=RFctPT5wNSGWp1CeBjWgkJbTWPoUdSF+CQk2TEE6ilfC3OnPJRLr2Tksdh5sMHFPH1Th6uSWMRjPixenQiWVLuNdxvXFT6TcbiaFUZQfWhaRfw57f2mDKBVfroc8mwY2JaYXkiwR3lwyuHm5UiJZeB6lKm7fbujPhZnNF+mu078= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727385607; c=relaxed/simple; bh=63nV2SPEt7HrQhYq/afmOkafbu/xUUadZpZ/grNSr1k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=c1UQDoXboj6qbBOw7xs0EUdLg2kZCq7pIPBI6+bxRGdX2/4bqCoBWjIqdEgtgeBimiUSJMbGBq3SRKerOR0+WcYdT7DkYbITFP+kQuBu08ZT7DJWA84+1brbqNYceeJGj/7G1nxuEkpkagK9Qe6rePnrYPwILeCd3yoCdzALlvY= 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=R8CPOG8G; arc=none smtp.client-ip=209.85.208.177 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="R8CPOG8G" Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2f77d142aa2so941111fa.3 for ; Thu, 26 Sep 2024 14:20:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727385604; x=1727990404; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ZZmNzvdqCCpWOCO0T1ymFiFyHWj/Ok0pICE14Ywaf4s=; b=R8CPOG8G9IvnkD6xGMjU1zLG+0Q0J/cUDgxOyLKcD2f1BKikDUwrrtMCKMc07Bcxqq 68z0q9jw7Zn5TEt77jQ43CIi5K902Ob5GcoDYdDu5RPGhAEukb4J4VpOKOe3PK2duE38 E6GRSdgRslC0GDjjDRWgLPMzII6p2cFmDrg3stdkgIwmKG6lM9RCzcgrAZp9r2Wp+WNQ XZwfgtgcoQMlcGfZlVhbA6u+wTekoxbHwiqlXaogN8xKI8IABD1bLSZ/6GO0PrI6l/ZY HWqBud5kjc+Sqke1PWBJL10ClAGN1646jq84xtq98i87f5Ek7beqaA+tyoOEv1wbOxkC uV9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727385604; x=1727990404; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZZmNzvdqCCpWOCO0T1ymFiFyHWj/Ok0pICE14Ywaf4s=; b=owASu+dHVfljVzzrhCXXIpa1Fa70HXW9aRCV6HRCu/qf5cZqiJQtHPSiFS9Jqk1kGS pha4nXMUHyj7de/BNeSbvQst2M8lZm2dZ5lq9P28blvCLIOZVeZfJqCPN7RegcKV1aB3 t56nRT9xG1dDzBhdKZq47K2gjzEJtN8ZsRap/of1AQCtZybxLvcCl1DRpwLE7PNCCsV3 6j9kw7qjl/cnsZ+sEoZg7sgeHKXk9FD0QS1An0/58qhyphxBbalcQ2WZiOsFNKKTz+KE sRjR+nvwv/mt7AGcTZuVFvmHcI341Lkyk2druLe0ayHlp0Exr/zFyuf0NKNF0ZTESwes lFug== X-Forwarded-Encrypted: i=1; AJvYcCXeeHsZ46IjjVm8XRh1H8tiepVE/qkbDuS0X8EIMR9AsPhO+IRC2xoawL4dDqOyXjOaSsgAv4BvyDL06Ov4@vger.kernel.org X-Gm-Message-State: AOJu0Yzt9S3x1xe3Y+CpvmD7dpr6ZJ3abPbKRGfujJjZuea/JvNJcfXq P7Em/H2JiswR6NhSGyonh1CmQbn/RPRZ8nY0wiPHcSJkTeYw8tyQSStrEMqBGO8= X-Google-Smtp-Source: AGHT+IEV+uddoYO+WxMKBOKeJc2BGDo2fSlXDS+9Ajnd3Q3aw9LPoMVM2iLwdcv43rxw1kV1FKOqmQ== X-Received: by 2002:a2e:be24:0:b0:2f3:a896:1877 with SMTP id 38308e7fff4ca-2f9d3db3ac1mr1876551fa.0.1727385603777; Thu, 26 Sep 2024 14:20:03 -0700 (PDT) Received: from localhost.localdomain (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2f9d4618a80sm684901fa.107.2024.09.26.14.20.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2024 14:20:02 -0700 (PDT) From: Vladimir Zapolskiy To: Robert Foss , Todor Tomov , Bryan O'Donoghue Cc: Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 0/2] media: qcom: camss: manage supply regulators as CSIPHY resources Date: Fri, 27 Sep 2024 00:19:55 +0300 Message-ID: <20240926211957.4108692-1-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The change is based on a recent discussion of a changeset, which adds CAMSS support of Qualcomm SM8550 platform: https://lore.kernel.org/all/6d78c1de-00bf-4aea-b0c6-a147faa40a8f@linaro.org/ Regulators shall be managed as CSIPHY resources, while apparently CSID subdevices can be run with external regulators kept disabled. Performed regression testing on RB5 successfully, however it might be important to state that on RB5 board L5A and L9A supplies are always on. Vladimir Zapolskiy (2): media: qcom: camss: add management of supply regulators to CSIPHY media: qcom: camss: move sm8250 regulators from CSID to CSIPHY subdevice .../media/platform/qcom/camss/camss-csiphy.c | 35 ++++++++++++++++++- .../media/platform/qcom/camss/camss-csiphy.h | 2 ++ drivers/media/platform/qcom/camss/camss.c | 20 +++++------ 3 files changed, 46 insertions(+), 11 deletions(-)