Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2084532ybl; Thu, 29 Aug 2019 03:21:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzO9X8UtmbSJkQylQ9sSE7yjo9ojm3fNA8ymVhueQbJCdrNJk/v3eaRJiq4vX5EhWJivR75 X-Received: by 2002:a63:d301:: with SMTP id b1mr7479416pgg.379.1567074112445; Thu, 29 Aug 2019 03:21:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567074112; cv=none; d=google.com; s=arc-20160816; b=juaUm/q0TsvkIeJYmJN3Kz6Di/e4Gvr55DDPjb4UhzS8B63ZTTyt46/20VtLtA2+My U4Vjjw5u0K3iefpVXuZXkdNm22+fWAXeTT4/Z5MdtIa7PhPbKtir+yIzGZHHp74nZo07 xI2cCHsog2bPBW9M2qoOA4e2IW+CXWK4HM4+yGm58SMAlPCKPtAXE+NxxCmsEA5ofqmB 5hcvZNQWGMJwfVZuTn++b5OD01sJrEzyFVFU27PcT9wUdaLNYbkywNucVcj7C8iUVpVX EzNU5Gis4EIUuprRZEqz7D3iZJS2VH0YeyLtwgHY0WEquEDIOl2r1gmpBHd/pJEb5vSV PDeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=swT+6MkxBaEOk87DUHdzZyh2PsIAEtagoPBM5e7oPS8=; b=Di5yjcoxqdwpDZf5hPI8vxxIMrd315uKOTlx8aj9sm31nF1Q5eEsvr5T+M8SQG4p4T O7nA4A0nzs3fGHY4JzK5qIxjAZBR1MHHdG+ZNgnqp77Ur87sjGRweZUaLVomjIHypTwE vzAsHOLucx+i235VUougG8EHdK0KguVdUqQJLPSgpWmB0pZ1Buya+qfqpD1nqUBi+H0F ntJoCUW3Ub19o3QLosbREYagT1eVd4nghW7zbfrcS8YH0xvuEpcKaREtspoXkwxmv2Ii 6wRxKQjGi36Rg+SqQNw8vF6RCtqU0TYEkYiN9og3Tv3wvDy5MvtBpGYjJjNSw+d/YOb5 l+Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=ZCpfD6NX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h37si1798682pjb.106.2019.08.29.03.21.34; Thu, 29 Aug 2019 03:21:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=ZCpfD6NX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727008AbfH2KTl (ORCPT + 99 others); Thu, 29 Aug 2019 06:19:41 -0400 Received: from smtprelay-out1.synopsys.com ([198.182.61.142]:36152 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726330AbfH2KTk (ORCPT ); Thu, 29 Aug 2019 06:19:40 -0400 Received: from mailhost.synopsys.com (mdc-mailhost2.synopsys.com [10.225.0.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 20432C0391; Thu, 29 Aug 2019 10:19:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1567073980; bh=od80gmY2zZhh+3Bcew23DiiwRVI+IoD71SEOvgTHG9g=; h=From:To:Cc:Subject:Date:From; b=ZCpfD6NXKGjUIDyuyy6P1W/RWFyrnEbssFCR4FlNciPZnoNwnK4hSjHHsciqeGWvj csro7zd7SZAZh0DCnfIBbf3NUL3+o0LR8nfrt/WweoO5Mr2s7sYVuQ3Kr9kqlSHbue SSm8KGVcVawD/Fx3v5AmvjqXgCkwu2ObxiOm0Z1c8vAeEpTEvOAPtXDfI0SrjNhapt xgppE8g+DyxZToCwFV+TDQTHULhTyRGl6/qae1RQxj7g8cMi7/N02EhunlgLKMl+Oz kswwWiVz9H0z4sIjPUfWp+xwNF1Z3Hh9YmZTX8ZQX9pt5kKnPrK0cnOBRBS3sXVfMe uXKrEtyBe4lng== Received: from de02.synopsys.com (de02.internal.synopsys.com [10.225.17.21]) by mailhost.synopsys.com (Postfix) with ESMTP id 37493A005F; Thu, 29 Aug 2019 10:19:38 +0000 (UTC) Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by de02.synopsys.com (Postfix) with ESMTP id 1176B3B640; Thu, 29 Aug 2019 12:19:38 +0200 (CEST) From: Vitor Soares To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-i3c@lists.infradead.org Cc: bbrezillon@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, Joao.Pinto@synopsys.com, Vitor Soares Subject: [PATCH 0/4] i3c: remove device if failed on pre_assign_dyn_addr() Date: Thu, 29 Aug 2019 12:19:31 +0200 Message-Id: X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series remove the devices that fail during pre_assign_dyn_addr() and were being sent on DEFSVLS command. With the change above, during the i3c_master_add_i3c_dev_locked() is necessary to check if the device has i3c_boardinfo and try to assign the i3c_dev_boardinfo->init_dyn_addr if there no oldev. This change will allow to describe in DT device with preferable dynamic address but without static address. Vitor Soares (4): "i3c: detach and free device if pre_assign_dyn_addr fails " i3c: check i3c_boardinfo during i3c_master_add_i3c_dev_locked update i3c bingins i3c: master: dw: Reattach device on first empty location of DAT Documentation/devicetree/bindings/i3c/i3c.txt | 13 ++++++++--- drivers/i3c/master.c | 33 ++++++++++++++++++++++++--- drivers/i3c/master/dw-i3c-master.c | 16 +++++++++++++ 3 files changed, 56 insertions(+), 6 deletions(-) -- 2.7.4