From patchwork Wed Oct 28 09:58:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1389206 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=rb5ETn0m; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CLkY81L5Jz9sVl for ; Wed, 28 Oct 2020 20:58:36 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 73F7682483; Wed, 28 Oct 2020 10:58:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="rb5ETn0m"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EFF8882423; Wed, 28 Oct 2020 10:58:23 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9CAD8823DD for ; Wed, 28 Oct 2020 10:58:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=igor.opaniuk@gmail.com Received: by mail-lj1-x244.google.com with SMTP id 2so5302083ljj.13 for ; Wed, 28 Oct 2020 02:58:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=h6iBMsui6s0364DD6K1Cmh6tnzTaplljLEJX5Gyij24=; b=rb5ETn0m4W2sBA8w5Su4gU2QFbIjfkOaqWoc3nrpkWAMulkyetSSBT6M1k1F4SMVFA n3RTdQ6SVtAhG1t5C0VW1CdP//UDeiPu06632LlrzlD3OGCQ5eyd+GWBuUB6cOFAnTYD n588fyvkx1TJdMVnstkTicvDW5meRRINBZqHR8HdKuRie2IfFH0PVHRmQ+lzJ6NP5x2I 144He4b86itOn4elOOp8/udJM0obsHpkwzjhAGLCt/t5Jnt+r0MjAZ7UiiGzC+5tLgXz rur+/PtsQVu3CdcoDVlzasf3gBznBavlTfR8gTThaAKBARAjBwAdWk+EBsT8AdI5SMPE 3IdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=h6iBMsui6s0364DD6K1Cmh6tnzTaplljLEJX5Gyij24=; b=aAx+KfsKf8W+9nIqhcg1kx23nL1oRvmXyyYTyRrE6GaL+HWekTr0xMRKxJYWNN6iPF GQNhMoagaqLJEOwTnTC92DjMaFuTE4o/eVKRjmMOzuMgRIY7e8M2hWKo3q1wF1GrxU1W fiA10jCn6sxikYAsDSQnvMereEBuX+NFRfhENXLXJz/qzIOPuRGJ6MmkNjTSkLjxRH/o yETjexmIB0sKlcweABeWelYsb4eNHaew6O6GYoZ9GZLzcelYZuMv00R+qf9gbrqQv7IM mAhEWBQ5fFN8VBLer8PZ8I3muDb2ioerAs3tMaof4usFmAT0rULmfJp7iTiDQKxApy4w Xb9w== X-Gm-Message-State: AOAM5335SFt2yFlCLjayLPm6SzkqBkrFuL5fpCAOuNn6nELsO43Uv3Hd glCn8LeaHsbh9u2gGB6RrBywFWJTV7N8eQ== X-Google-Smtp-Source: ABdhPJwS/AGjOHB1XDGBDnreH1LXELk5zXZNE/pFnMeRUAjehLJc/9AAcZRicVMPC2e2fSEK7v+OLw== X-Received: by 2002:a2e:b61a:: with SMTP id r26mr2988160ljn.166.1603879100699; Wed, 28 Oct 2020 02:58:20 -0700 (PDT) Received: from localhost ([109.108.76.111]) by smtp.gmail.com with ESMTPSA id v15sm475438lfi.114.2020.10.28.02.58.19 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Oct 2020 02:58:20 -0700 (PDT) From: Igor Opaniuk To: u-boot@lists.denx.de Cc: Marcel Ziswiler , Peng Fan , Oleksandr Suvorov , Philippe Schenker , Max Krummenacher , Stefano Babic , Jaehoon Chung , Robin Gong , Simon Glass , Ye Li Subject: [PATCH v1 2/9] pca9450a: fix i2c address Date: Wed, 28 Oct 2020 11:58:09 +0200 Message-Id: <20201028095816.23906-2-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201028095816.23906-1-igor.opaniuk@gmail.com> References: <20201028095816.23906-1-igor.opaniuk@gmail.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean From: Max Krummenacher The I2C address is 0x25, not 0x35. This according to the datasheet and tests with a PCA9450A. Signed-off-by: Max Krummenacher Reviewed-by: Jaehoon Chung --- drivers/power/pmic/pca9450.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/pmic/pca9450.c b/drivers/power/pmic/pca9450.c index 0c9d9a366e..c7f8b80954 100644 --- a/drivers/power/pmic/pca9450.c +++ b/drivers/power/pmic/pca9450.c @@ -80,7 +80,7 @@ static struct dm_pmic_ops pca9450_ops = { }; static const struct udevice_id pca9450_ids[] = { - { .compatible = "nxp,pca9450a", .data = 0x35, }, + { .compatible = "nxp,pca9450a", .data = 0x25, }, { .compatible = "nxp,pca9450b", .data = 0x25, }, { } };