From patchwork Mon Mar 1 16:05:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 388682 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp3580648jap; Mon, 1 Mar 2021 10:18:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQYZcT5RTpbNOrJzDHuwcKJS/QVpL26jgRwEWsoazdriRPTZJv3V58NgO1d0xUqXJn2gBH X-Received: by 2002:a17:906:11d5:: with SMTP id o21mr16682372eja.504.1614622736204; Mon, 01 Mar 2021 10:18:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614622736; cv=none; d=google.com; s=arc-20160816; b=HOvAjoINRxWRfSduPgIE9w3DY0ZsIiDx3LDXzMZB4cIDaiROepkksEN7QAt7FKJXCv IQicoy2k/ScgShpmArEQzpxqNACuMEj5mR1Wbb3NNrb/Z+EhXY8ba9LecxZp/K+2et56 Y9vhkyWf4PVAana2OA6TRRBbHubpYN1VPNKqhmvhi+f1CRRHvIIreRo9y7JwbwWgyMip rqjGFu293I/ZbH0MgWre+WYU/tLbnO25TchUwNeZmR1D7gvoOgsYQSIeTpO33JKeTqHv FX/tpKMekTZrGXCrYB39yezntuWiFxObYXlrsJ1nGYXZ2UtL3l2oe16PT9WqMK3Yj3qR k2xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Oa6VgsD0CDp5fuh1nqbIYa5jM5mv7Ux+QOqlcODN3hY=; b=OYqf9WMiYcoO2EbtX6AoFqNFnjKkmYuNVkrIuiUSsm+6naY6dT+LSgRClp+mUyOwYU mzsw6cis5JpoHO6B7DEtBFI8UpiJNibQ7F1PUUZiXxAi5HqKD5a1x9atD6yYDZNq51Id kylFt6Q71LAm4MFcXo352hC1+bzNcftlF8rWZJjIjc5Eqb7ZIS84oZA+7GvysHdkkfr4 OAgmdAnWBZAy7tV5bADU6w5ONQe0iTQRXI6/a9jSxZjPIBHX1CgwIgZHE1f0sNQZ4jw3 t+84LDgxs2FfNPnzyJh/sHaB32x7GQOynGZN2OSHN8Sdlu2oryfKtd1ZZfyjwXNhiNn1 TsbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fswrSnut; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp16si12237248ejc.49.2021.03.01.10.18.56; Mon, 01 Mar 2021 10:18:56 -0800 (PST) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fswrSnut; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239625AbhCASR5 (ORCPT + 13 others); Mon, 1 Mar 2021 13:17:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:59384 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231998AbhCASLk (ORCPT ); Mon, 1 Mar 2021 13:11:40 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 19DD064F57; Mon, 1 Mar 2021 17:05:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614618351; bh=ODIyvMs48heoT53hwRo7ih7S59GYjxq6fhnZTgiJ8Ok=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fswrSnutiVxHvLuXp54alIKiIzEl/DHtlvogbJUddRc+CM0PVAQaarfYu27sJzSuo pXeuqo6Q25FWU/MaRnERx2ZsAPTvcHSgc46t/A9uMcnLEYbQz+TziFPbbJiD07ajK8 50OQMI1lsr7tDDcWlWaa9kJq0q7ZEPl79usjKzCE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Robert Foss , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.10 055/663] arm64: dts: qcom: sdm845-db845c: Fix reset-pin of ov8856 node Date: Mon, 1 Mar 2021 17:05:03 +0100 Message-Id: <20210301161144.482223140@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161141.760350206@linuxfoundation.org> References: <20210301161141.760350206@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Robert Foss [ Upstream commit d4863ef399a29cae3001b3fedfd2864e651055ba ] Switch reset pin of ov8856 node from GPIO_ACTIVE_HIGH to GPIO_ACTIVE_LOW, this issue prevented the ov8856 from probing properly as it did not respon to I2C messages. Fixes: d4919a44564b ("arm64: dts: qcom: sdm845-db845c: Add ov8856 & ov7251 camera nodes") Signed-off-by: Robert Foss Link: https://lore.kernel.org/r/20201221100955.148584-1-robert.foss@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index c0b93813ea9ac..c4ac6f5dc008d 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -1114,11 +1114,11 @@ reg = <0x10>; // CAM0_RST_N - reset-gpios = <&tlmm 9 0>; + reset-gpios = <&tlmm 9 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; pinctrl-0 = <&cam0_default>; gpios = <&tlmm 13 0>, - <&tlmm 9 0>; + <&tlmm 9 GPIO_ACTIVE_LOW>; clocks = <&clock_camcc CAM_CC_MCLK0_CLK>; clock-names = "xvclk";