From patchwork Mon Nov 27 19:58:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Venture X-Patchwork-Id: 841854 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ylyKS75X6z9s7B for ; Tue, 28 Nov 2017 06:58:36 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="cr8wDbV4"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3ylyKS5qlXzDrJB for ; Tue, 28 Nov 2017 06:58:36 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="cr8wDbV4"; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=google.com (client-ip=2607:f8b0:4001:c06::244; helo=mail-io0-x244.google.com; envelope-from=venture@google.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="cr8wDbV4"; dkim-atps=neutral Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3ylyKK3XnZzDqjB for ; Tue, 28 Nov 2017 06:58:28 +1100 (AEDT) Received: by mail-io0-x244.google.com with SMTP id s37so26766499ioe.10 for ; Mon, 27 Nov 2017 11:58:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=YurVtleWVaC0nNk6nCXVXH8vUjAKs6NmJ+FFfnQngYs=; b=cr8wDbV4oqHkoJKQFCnAYYbzZFcUJnAWQQHUwTzARouR9nf8rd1BwfQk8jDF2kACZh hDo1utb3Ly0Y8U+uV6WTy6fGgt33Yl/3IrVeEPnai2m9usm4nPQyBpbR30a+G/fbPgZG k3LP5OECJM8PRwT8m1/qat/KlvE09qFs7UhzPuRFsDH5wIpgNePKz52j38mnKS1xJ+Cd ptPz7giqRc1ltOY958sCJUWC42XBugtlWfxEvgRf1AwFTe8yAyETEbkpg9gRSXK80pEn Ixz2gvPNoUNRXKZD2z4PsbRO06+DjPVy7YTrJefNgADy6ywQP4xOaSQ5OVN2lsUwhWAq k5hw== 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; bh=YurVtleWVaC0nNk6nCXVXH8vUjAKs6NmJ+FFfnQngYs=; b=FTWqopgqLC5cH+kFEvmAmGjfI1dQDyI1hxlTUwHJI+Yn7UsiucNXiZxhuLuxaa44z9 KZ4JQVULnd62ZJLuSvtsMuGRntBmebsciwDihayh+kDcJY4TAOfDDLbc14+3ToX6lZD3 +uZOU2oC589xGWGZ0oJWk5GsvbpNq0X2e65uO4TbFKWE8JvycwoBfZO85Q2Sw+ppqSKh eiSPEDqpW8wcQUelVXUnrq2Jo7JNhyo7SyQSnp3KXsKNpe/TbCUU4iDk16nStFfUJrHQ 0bibFQ2pHMt7foHKQ1+XCuGr7I947QQ3ESOBnsW2dvqDw2gDKsbgX7WSYzklOhaNtKFj E59g== X-Gm-Message-State: AJaThX7u6ydsPwLr3sSn0wDphtcf2own269QGthtgtf7OVuAIbcxTMqg gysIoAUL/3AVVJRD5zdr/fxaFw== X-Google-Smtp-Source: AGs4zMbfsBNSGfNjeHs4QNUPWVD2mlb5QVpsCJQRvSonomcY0iTazS3yE9OoUAG5IepW8aRkq/3GvQ== X-Received: by 10.107.129.35 with SMTP id c35mr44764093iod.258.1511812706584; Mon, 27 Nov 2017 11:58:26 -0800 (PST) Received: from venture.svl.corp.google.com ([100.123.242.104]) by smtp.gmail.com with ESMTPSA id g93sm9382515ioj.51.2017.11.27.11.58.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Nov 2017 11:58:25 -0800 (PST) From: Patrick Venture To: venture@google.com, joel@jms.id.au Subject: [PATCH linux] ARM: dts: quanta: i2c-2 idle disconnects Date: Mon, 27 Nov 2017 11:58:22 -0800 Message-Id: <20171127195822.185140-1-venture@google.com> X-Mailer: git-send-email 2.15.0.417.g466bffb3ac-goog X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openbmc@lists.ozlabs.org, Peter Hanson Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" From: Peter Hanson Two top-level pca954x muxes branch off Quanta q71l i2c-2 bus; they have different addresses, so there is no confusion in that sense. However, by default, the pca954x driver skips disconnecting the selected channel. This supports expected topologies, but will leave two channels selected at the same time when connected in parallel. This commit adds the i2c-mux-idle-disconnect property to both muxes to inform the driver that disconnecting is not optional on bus 2. Signed-off-by: Peter Hanson Signed-off-by: Patrick Venture --- arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts index 7ed3a773b2d5..05cfbf086c84 100644 --- a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts +++ b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts @@ -227,6 +227,7 @@ reg = <0x74>; #address-cells = <1>; #size-cells = <0>; + i2c-mux-idle-disconnect; /* may use mux@77 next. */ }; /* 0: PCIe Slot 1, @@ -243,6 +244,7 @@ #address-cells = <1>; #size-cells = <0>; reg = <0x77>; + i2c-mux-idle-disconnect; /* may use mux@74 next. */ }; };