From patchwork Mon Dec 21 10:09:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 346399 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp4332391jai; Mon, 21 Dec 2020 02:11:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJxagbh7vRARFxIWNUANs1LBzUrrfnOwN0znNeoNah1IefRj3NRUQR6MaA1dlT+R7fM8adAQ X-Received: by 2002:a50:ee8e:: with SMTP id f14mr14994957edr.176.1608545461798; Mon, 21 Dec 2020 02:11:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608545461; cv=none; d=google.com; s=arc-20160816; b=wuVOBQ/WGsgT2obMzIdfXv3e0Cu2rjeZc3KktBxenXs84ANTxlij11bmBP3Siu6e7/ e81MocopR+4mEjuK9IP6BST3mnSfbYLJ/kmM4usIkUzWdZGU4za0uYH/tM8AkU3ctacQ IFb6MEDTB4wASuArLFN3na71Jh8rLojcc+KTB6EC0CVf3JstHcW3MsgueW/K70AMIuuz v7kJkQZY6wSlHT4AdG9i/F6vLcY8Hx4nQi11xoeSdfmTDmFfDVGOf2ogbVsVagN9jBwN 8ysUwJ3IKGlOzlfDttFA9QcectggeEdkrWNjbKufqPQtS1xGOjcicZhAHl1Ve0BivfgC u6xg== 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 :message-id:date:subject:to:from:dkim-signature; bh=gTS5XP2jtgHu359mlLvqf93EvN6ykiTeG0K5/al16QI=; b=d4xHllaXAfQ7y49q/vQuBfite57I/uzffNrwYLQSnimX+s5P/2QMp9GSDMtUZkG3u7 In1aMrwJ4smwWq7itut0sfwFql4hj7w8sxxB/CkrnQwTj0tZTBa5mIzS9xamxG0WXeX8 sdagMwIDozRf2mzEJxZ42kx7p4C8aGbTv3NCjgWUiCqz6HymT9hKEU7SS7o4guYhvCGL RBU8uWy29EtG6enK/vpU390wIltFCbptLYwOvS5j8oHKUe1WZhE+xCHEiqW2KlCQCcSS cnTTMfwIdKrC/6xfpioyz7r367ipFzWnucBZqPdsXAuNd6cU7YurlKZyTtIf1sRpMKej aYTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mjZsJ0+o; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m26si10584209edq.169.2020.12.21.02.11.01; Mon, 21 Dec 2020 02:11:01 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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=@linaro.org header.s=google header.b=mjZsJ0+o; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726072AbgLUKKl (ORCPT + 7 others); Mon, 21 Dec 2020 05:10:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725878AbgLUKKl (ORCPT ); Mon, 21 Dec 2020 05:10:41 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60D6DC061282 for ; Mon, 21 Dec 2020 02:10:00 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id s26so22253405lfc.8 for ; Mon, 21 Dec 2020 02:10:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=gTS5XP2jtgHu359mlLvqf93EvN6ykiTeG0K5/al16QI=; b=mjZsJ0+ovrZ4dWIMP+NT0ePEC9xYzfkmqWhZkKvz4yxZd9h384IRplLWesY5RPM1zk RamBZZLwz9j33w2WiW4erYjF0mRGfRzoMjrTA/mBAglwzpAmjJdFm7dxTFZCfCU5lkvP G0rKJPdkhske3+Wou3ZgxJg5itEdSf4SvEWG3N48vDyKtWuDU1sdF9O+AsEHtgvlHMe6 pAF8gNNRNDzr3vznIdbut+C6OfwQM9rjVacBKWEhBK1Dp3PSrNIuZW0tc3r4GsKfxiD1 wah7fH8BpywxddirD/AQVMTSui5/oL/wJl/KoMqMT6Y/zPo1VW8n/49xN0nJ0U84NzQT EeZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=gTS5XP2jtgHu359mlLvqf93EvN6ykiTeG0K5/al16QI=; b=uDn+aIAiKmStXHce0NgqI+Z4sQbS5DmQ2WA1Oxnmkz8+yda58KQ6jMG6UCt4ivFLls C9pbgsFqSsaSGtGFMZGMXsM0D0YyUpyqP8I15ly5zO3a4+VHwcJ9eAYFPWjHrboY85k5 h3OZht7F3V+0EDuc88fY3+XrrP1PxD4eI2VXcR9BwCyHqow31b0Hv/M5hbZXqAaJ4RMr NQ27SBBlPcj0fYSzbDrgWLzTdBzhqrwTHfCbypbyJsT5+sInjRHpFNXdIkCMvp2YCfy6 98daHQTChed5zsTXZmW1c6HwIYpwaladEhyjYcyCpSRpCr4wt+booiI+SdHUjtOGYjlo Jf0Q== X-Gm-Message-State: AOAM530o9Pe1pjQ7LE6n0/C0CMU6lbvDZHnW/SJmVPbjdhIZGwR8NzM0 Yvy5gy8Y5ZZ5LIXdKs4Xc5DIZQ== X-Received: by 2002:ac2:482c:: with SMTP id 12mr4754844lft.37.1608545398952; Mon, 21 Dec 2020 02:09:58 -0800 (PST) Received: from localhost.localdomain (host-95-192-94-245.mobileonline.telia.com. [95.192.94.245]) by smtp.gmail.com with ESMTPSA id t14sm1980971lfl.216.2020.12.21.02.09.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 02:09:58 -0800 (PST) From: Robert Foss To: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, robert.foss@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64: dts: qcom: sdm845-db845c: Fix reset-pin of ov8856 node Date: Mon, 21 Dec 2020 11:09:55 +0100 Message-Id: <20201221100955.148584-1-robert.foss@linaro.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- Changes since v1: - Bjorn: Use define instead of numeral 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 7cc236575ee2..f749672c5fdc 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -1112,11 +1112,11 @@ camera@10 { 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";