From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A00B6229B29 for ; Thu, 20 Mar 2025 19:45:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742499926; cv=none; b=PyVW5zXcDRINoBO5gq1+I0ko3Mq9oiVqobxe9rymi54ZCVamKlsQY6ppd6K/+Pgs204pXH9knXrVlfH6lX6LAOkr8bX9pFT2y68KeTkSP1bSsxGNPij4tfwd8D/lMryudZCflpxF+8QP9XDn3HGQg1n+tCzuJ2YrjM9+OKQHCK4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742499926; c=relaxed/simple; bh=KThe2nutzd9mqonkSKay3Hl9cUyVPIB7fcY6wCFZQdQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=fmRScxoizCHyLVQwNreQ+6FnZ9lOhAn5qWt0rHlkZtTGuve86z+Ya4cpoFjos/zB+sSpYRwFVnEDAZXxLpfdiCO//tItCAu4kSGzLe0y6MQY0wwDyYg9anYhVzXsbwyS0cnBYyO1rc7cOUUtvsPuuYfE2e1xpnoDa6p4f7chRhA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=rOpet2k+; arc=none smtp.client-ip=209.85.214.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="rOpet2k+" Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-2260c915749so16758485ad.3 for ; Thu, 20 Mar 2025 12:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1742499924; x=1743104724; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=FlpgaR0yQjJtGhaDJfcefOfylwG4dpk/sOugUwcoAf0=; b=rOpet2k+g6fhDQ2vHVB90Eh9EDW25tnXWoZM3Hwl7FWRb6vxR2EoDjKSVHJA5SssLe FKSqx4E3i5Vn3OZVlbRUHiv7m77JBSavjKfZQCUGfqNGDG3hMNxUMksQJ4BC1ajSNTJX UtM0laCgik1jbC2SXby8ItK1YH12ga5oRSW2E2DduIQWhgCcv0vl6vhuBtze1w35mHjS DpW8t8sa4dyxyI8ILI9rZdNo3WfAqpzeg2HWOdxkKeP9YrigOpdl1fA9qUEpkvdWIn+a G3vtBvSh4oXOdAi0lyf64l8eQLKCvQcIpRUMVhaXZERomfCo0YO9HtseWiuV6jvF+Q7P Lc+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742499924; x=1743104724; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FlpgaR0yQjJtGhaDJfcefOfylwG4dpk/sOugUwcoAf0=; b=LWsgP4cjVXV8eLH/7kFvaI2yDyo+bnGYixpNlU5tX2zaOc5ozACtzTxYYLexsKBzhe nAiiL2SlQdG2vKKrDimq2NE9Y+yRX38AH+/UDt0vXE23T7uDduwtjmRtYTqfrwJioA2R DGvsHGbnZqnxsTEoVQXs64cmrteO7hTWK/+rEZ6NpN2uqtk1ugmZvmglikFY9hkZ/Fp+ Xx1dPo2PFzobBAuEtPX3Rke71bvK92S9hoGgCWQlivCo8UDcJ2E5V5MwzNSPnOLBRdZc e4u7z92wZkUP8l0FJljq2JTYJwBG1JkKxLBq6jK8vg/0BV610VU5urEU5tdJFdH6iTqt Ef2A== X-Forwarded-Encrypted: i=1; AJvYcCWzOmjEcS8odgUnkxrAtOwHmErDcR9bWSX0PGTzaL+SZpr+c9jDKIhbcVJr38Aikpr7KNH8mJSvo92J@vger.kernel.org X-Gm-Message-State: AOJu0YyLDOT3WogT2OSA//mOBzx1X5PK7Gek1eW89nrHV1F2rP8IbyLJ DpWP8I+yjLS2q5IZkPRWl9J7VGdAFtGUrQQQyN7yQ2fbg+DjqAh344Xbv0ZtoQ== X-Gm-Gg: ASbGncuLncRyNUtwIO5q3gWhZvJxIwA/9dfshE5pSKRXWjoI5zTjcVNPXaPhzVGCOax 06/dbkxxAMix3QU7851S23T2ieEL1tKgWEDpjoVP+ntzDlalY2Uj1PHlSZIrI9LIvnhKKl/Ky0U STnawWWRlXBtZs5lJoz/rf5Tjx7KmEgvK/Bdfq1DXVZlKfb2mZ8ZiRMVspKvXUYjcr2rPG/WJo4 FL/fClEQrwpCtRdiwtXZ/qUAaaSaGK6AFJzNkU+e3BsbNhLpRwRp/9Um2IsSnx9OfM4TgZbXfpM n1BjYkaBnp7MF1ppDj2EwaUs7vJ237zTqvraQ7CJ6LiMmoQFoQ11OgdemXw/eiuIJjhUOHJd4en KA7613rITP7gJtV/G8wxuTFwSFJiMcm3wUyvYHRwrUcQi3rZREb23Kg== X-Google-Smtp-Source: AGHT+IENLKihrksiYGmmjoFVdGD3nmnNaE4lKfWVvWkc6djuSQ42SPGpugmxhc5MD8+aQ5CdkfkZjw== X-Received: by 2002:a05:6a00:2d0e:b0:736:d297:164 with SMTP id d2e1a72fcca58-739059457d6mr1123691b3a.1.1742499923443; Thu, 20 Mar 2025 12:45:23 -0700 (PDT) Received: from ?IPV6:2a00:79e0:2e14:7:c50a:4138:6122:653a? ([2a00:79e0:2e14:7:c50a:4138:6122:653a]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73905fab7c0sm212508b3a.7.2025.03.20.12.45.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Mar 2025 12:45:22 -0700 (PDT) Message-ID: <9bfab72b-d851-48c9-9cf4-d760dfb8e618@google.com> Date: Thu, 20 Mar 2025 12:45:21 -0700 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/5] dt-bindings: connector: add fixed-batteries property To: Krzysztof Kozlowski Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Badhri Jagan Sridharan , Sebastian Reichel , Heikki Krogerus , "Rafael J. Wysocki" , Len Brown , Pavel Machek , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-pm@vger.kernel.org, RD Babiera , Kyle Tso References: <20250312-batt_ops-v1-0-88e0bb3129fd@google.com> <20250312-batt_ops-v1-1-88e0bb3129fd@google.com> <20250313-tidy-kakapo-of-abundance-eebf91@krzk-bin> <85c6de6a-f8b4-4e4e-8fa2-da53816abc89@google.com> <0e654a26-91de-4218-bd60-64e996d5378a@kernel.org> Content-Language: en-US From: Amit Sunil Dhamne In-Reply-To: <0e654a26-91de-4218-bd60-64e996d5378a@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/16/25 9:55 AM, Krzysztof Kozlowski wrote: > On 15/03/2025 01:56, Amit Sunil Dhamne wrote: >> The intent of the patchset & this change is for the USB Type C protocol >> manager module (that consumes these bindings) to be able to get info >> (such as State of charge, design capacity, etc) from drivers that manage >> the battery/batteries in the system. In order for such info to propagate >> I need to hook up the references of these battery manager devices (fuel >> guages, etc.) to connector. >> >> I have addressed the connector <-> battery question in the cover letter. >> >> >>> If you mean chargers, the OF graph is already there for this and no need >>> for this patch. >> No I don't mean just chargers in this case. Also, I didn't follow you on >> the OF graph. Please can you explain further? >> > You are duplicating existing bindings and existing practice of > describing the actual connections via OF graph. And the binding already > has the OF graph. What to explain more? Please open the binding and look > at the ports. Maybe they are incomplete? Look how other USB and USB > Type-C connections are represented. I will try to use existing bindings. I will update my patchset and drop this property. Thanks, Amit > Best regards, > Krzysztof