From patchwork Thu Dec 17 15:12:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 345086 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBA0EC2BBD4 for ; Thu, 17 Dec 2020 15:13:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AA7EA23A03 for ; Thu, 17 Dec 2020 15:13:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728143AbgLQPNA (ORCPT ); Thu, 17 Dec 2020 10:13:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728109AbgLQPM7 (ORCPT ); Thu, 17 Dec 2020 10:12:59 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83B4EC0617B0 for ; Thu, 17 Dec 2020 07:12:19 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id b9so13432700ejy.0 for ; Thu, 17 Dec 2020 07:12:19 -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=bsmxj4WXk4Q4NSFr6MB9LgmIGzcP4uZ3YJ5A+DlLg9E=; b=gb3M5Uw2+fnPw987oP/ibgwGoGtabUek1i6UIEPlB+vpfzOA6d6LqZOWeLLOYm8+0r YeM6Q1lPKF/omgdAaWz6ekd+8Om7F1WRXqZ200ICRcN2c7mWUimMGcCxcQUefCK1hsQ3 rQRDFNfCwIjo5zv7Z0SwxHGyFjQAMNsS5dYm3X8kmrMBTRmbS6izs/Wi1sgqVmIPrbKq NRKV22qtDPM4Zyq+aWE9lMaGqdU/aONTqWznYMIQ3X7KVrNUxY6vLQtEtxtzPbXwbs25 V6MO7I7sk8Ayy5zYx6Z3EkwJP9VgaFuKuUiYU5KOgDnM8Le5Xk99EP8qPsVupw2p8j+c tXWw== 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=bsmxj4WXk4Q4NSFr6MB9LgmIGzcP4uZ3YJ5A+DlLg9E=; b=HRot2TTTldsrdIrG5zhrtjzdEhxXCJCBtSdwpwDySUqhCKEV6CphVLDj57JalpNMsW XyYzKT4nxzB5DweZwBPT/+0hZm2+vbX1R6NN8OQhg3XdQLa9CJGGxwfLRVFe+Bq/jiVq BIKfFHzCU7fauQLB0GkGTB/gi6M7b9pQ9Lx/IKkpBXyz4nuuWF9+U0tBV5GNiEJ+pr1J ZsbWOSA0+CY+Sz5MwLdr9h9EHfG+q9xKRvvnHyPNPKfScjloWmS1JckVU54Hvx1q7Uar 1OFGxt2VM+HesqLRS+xqDm6wSzeqkgnf1TTW3s/jm13Y3EpoFq0fGCrH2WuAA7KfzUDo fieA== X-Gm-Message-State: AOAM5320gqt2/n1a9Zk//6hH8Jy6jYQnnlh4LgYp8SASsBgrcCkQkKAw 6hztJQO+viaFZRyFqFmBV3epLg== X-Google-Smtp-Source: ABdhPJwvTqroST8YwDqTK1rv4XcaZ5omqWIg0pGRgVbScNy/rP6f5+ATMOp3a3ZZfGf8wZJHYPRJtg== X-Received: by 2002:a17:906:43c5:: with SMTP id j5mr36863773ejn.530.1608217938104; Thu, 17 Dec 2020 07:12:18 -0800 (PST) Received: from localhost.localdomain ([2a02:2450:102f:d6a:f0ff:2796:69b1:324]) by smtp.gmail.com with ESMTPSA id k21sm3915267ejv.80.2020.12.17.07.12.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Dec 2020 07:12:17 -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 v1] arm64: dts: qcom: sdm845-db845c: Fix reset-pin of ov8856 node Date: Thu, 17 Dec 2020 16:12:00 +0100 Message-Id: <20201217151200.1179555-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 does not respond to I2C messages. Fixes: d4919a44564b ("arm64: dts: qcom: sdm845-db845c: Add ov8856 & ov7251 camera nodes") Signed-off-by: Robert Foss --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index 7cc236575ee2..a943b3f353ce 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 1>; pinctrl-names = "default"; pinctrl-0 = <&cam0_default>; gpios = <&tlmm 13 0>, - <&tlmm 9 0>; + <&tlmm 9 1>; clocks = <&clock_camcc CAM_CC_MCLK0_CLK>; clock-names = "xvclk";